NiHu
2.0
|
base class of a Matlab mex matrix More...
#include <mex_matrix_separate.hpp>
Public Member Functions | |
size_t | rows (void) const |
return number of rows More... | |
size_t | cols (void) const |
return number of columns More... | |
Protected Member Functions | |
matrix_base (size_t rows, size_t cols) | |
output matrix constructor More... | |
matrix_base (mxArray const *input) | |
input matrix constructor More... | |
Protected Attributes | |
size_t | m_rows |
number of rows | |
size_t | m_cols |
number of columns | |
base class of a Matlab mex matrix
Definition at line 51 of file mex_matrix_separate.hpp.
|
inlineprotected |
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 |
Definition at line 59 of file mex_matrix_separate.hpp.
|
inlineprotected |
input matrix constructor
used when an input matrix is received from Matlab
[in] | input | the Matlab pointer to the matrix |
Definition at line 68 of file mex_matrix_separate.hpp.
|
inline |
return number of columns
Definition at line 86 of file mex_matrix_separate.hpp.
|
inline |
return number of rows
Definition at line 78 of file mex_matrix_separate.hpp.