#include <Hxi_mxArray.h>
Public Methods | |
| mxArray (int_T m, int_T n, int_T) | |
| Constuctor. | |
| real_T * | getPr () |
| Get address of first element of real data. | |
| const real_T * | getPr () const |
| Get address of first element of const real data. | |
| int_T | setNumberOfElements (int_T num) |
| Set number of data elements. | |
| int_T | getNumberOfElements () const |
| Get number of data elements. | |
| int_T | setM (int_T m) |
| Set number of rows. | |
| int_T | getM () const |
| Get number of rows. | |
| int_T | setN (int_T n) |
| Set number of columns. | |
| int_T | getN () const |
| Get number of columns. | |
| bool | isEmpty () const |
| Check if data object is empty. | |
| bool | isSparse () const |
| Check if data object is sparse. | |
| bool | isComplex () const |
| Check if data object is complex. | |
| bool | isNumeric () const |
| Check if data object is of numeric type. | |
Protected Attributes | |
| real_T | _dummy |
| argument for ADOL-C memory management | |
| vector< real_T > | _data |
| data vector | |
| int_T | _m |
| number of rows (more generally first dim) | |
| int_T | _n |
| number of cols (more generally other dims) | |
.