|
NiHu
2.0
|
Matlab mex matrix. More...
#include <mex_matrix_interleaved.hpp>
Public Types | |
| typedef Scalar | scalar_t |
| typedef Eigen::Map< Eigen::Matrix< scalar_t, Eigen::Dynamic, Eigen::Dynamic > > | base_t |
Public Member Functions | |
| matrix (size_t rows, size_t cols, mxArray *&output) | |
| output matrix constructor More... | |
| matrix (mxArray const *input) | |
| input matrix constructor More... | |
Matlab mex matrix.
Definition at line 151 of file mex_matrix_interleaved.hpp.
|
inline |
output matrix constructor
used when a new matrix is created in C++ and passed to Matlab
| [in] | rows | number of rows |
| [in] | cols | number of columns |
| [out] | output | the mxArray that will be allocated |
Definition at line 164 of file mex_matrix_interleaved.hpp.
|
inline |
input matrix constructor
used when an input matrix is received from Matlab
| [in] | input | the Matlab pointer to the matrix |
Definition at line 183 of file mex_matrix_interleaved.hpp.