#include <matlabmatrix.h>
Inheritance diagram for Matrix:


Public Member Functions | |
| Matrix (int height, int width) | |
| Matrix (double *data, int height, int width) | |
| Matrix (const mxArray *ptr) | |
| Matrix (mxArray *&ptr, int height, int width) | |
| Matrix (const Matrix &source) | |
| ~Matrix () | |
| Matrix & | operator= (const Matrix &source) |
| int | height () const |
| int | width () const |
| bool | operator== (const Matrix &X) const |
| bool | operator!= (const Matrix &X) const |
| double | entry (int r, int c) const |
| double & | entry (int r, int c) |
| double | operator() (int r, int c) const |
| double & | operator() (int r, int c) |
Protected Attributes | |
| int | h |
| int | w |
Definition at line 30 of file matlabmatrix.h.
| Matrix::Matrix | ( | int | height, | |
| int | width | |||
| ) |
| Matrix::Matrix | ( | double * | data, | |
| int | height, | |||
| int | width | |||
| ) |
| Matrix::Matrix | ( | const mxArray * | ptr | ) | [explicit] |
| Matrix::Matrix | ( | mxArray *& | ptr, | |
| int | height, | |||
| int | width | |||
| ) |
| Matrix::Matrix | ( | const Matrix & | source | ) |
| Matrix::~Matrix | ( | ) | [inline] |
Definition at line 56 of file matlabmatrix.h.
| int Matrix::height | ( | ) | const [inline] |
| int Matrix::width | ( | ) | const [inline] |
| bool Matrix::operator== | ( | const Matrix & | X | ) | const |
| bool Matrix::operator!= | ( | const Matrix & | X | ) | const [inline] |
Definition at line 69 of file matlabmatrix.h.
| double Matrix::entry | ( | int | r, | |
| int | c | |||
| ) | const |
Referenced by operator()().
| double& Matrix::entry | ( | int | r, | |
| int | c | |||
| ) |
| double Matrix::operator() | ( | int | r, | |
| int | c | |||
| ) | const [inline] |
| double& Matrix::operator() | ( | int | r, | |
| int | c | |||
| ) | [inline] |
int Matrix::h [protected] |
int Matrix::w [protected] |
1.4.7