#include <matlabmatrix.h>
List of all members.
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) |
| | Array (int length) |
| | Array (double *data, int length) |
| | Array (const Array< double > &source) |
| | ~Array () |
| void | setvalue (const double &value) |
| void | inject (const double *source) |
| void | inject (const Array< double > &source) |
| Array< double > & | operator= (const double *source) |
| Array< double > & | operator= (const Array< double > &source) |
| void | copyto (double *dest) const |
| int | length () const |
| double & | operator[] (int i) |
| const double & | operator[] (int i) const |
| bool | operator== (const Array< double > &a) const |
| bool | operator!= (const Array< double > &a) const |
Detailed Description
Definition at line 30 of file matlabmatrix.h.
Constructor & Destructor Documentation
| 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 | ) |
|
Member Function Documentation
| 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 |
| double Matrix::entry |
( |
int |
r, |
|
|
int |
c |
|
) |
| const |
| double& Matrix::entry |
( |
int |
r, |
|
|
int |
c |
|
) |
| |
| double Matrix::operator() |
( |
int |
r, |
|
|
int |
c |
|
) |
| const |
|
inline |
| double& Matrix::operator() |
( |
int |
r, |
|
|
int |
c |
|
) |
| |
|
inline |
Member Data Documentation
The documentation for this class was generated from the following file:
- /tmp/buildd/coinor-ipopt-3.10.2/Ipopt/contrib/MatlabInterface-Old/src/matlabmatrix.h