Public Member Functions | Protected Attributes
Matrix Class Reference

#include <matlabmatrix.h>

Inheritance diagram for Matrix:
Array< double >

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 ()
Matrixoperator= (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

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)
Matrix::~Matrix ( ) [inline]

Definition at line 56 of file matlabmatrix.h.


Member Function Documentation

Matrix& Matrix::operator= ( const Matrix source)
int Matrix::height ( ) const [inline]

Definition at line 63 of file matlabmatrix.h.

int Matrix::width ( ) const [inline]

Definition at line 64 of file matlabmatrix.h.

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
double& Matrix::entry ( int  r,
int  c 
)
double Matrix::operator() ( int  r,
int  c 
) const [inline]

Definition at line 75 of file matlabmatrix.h.

double& Matrix::operator() ( int  r,
int  c 
) [inline]

Definition at line 76 of file matlabmatrix.h.


Member Data Documentation

int Matrix::h [protected]

Definition at line 76 of file matlabmatrix.h.

int Matrix::w [protected]

Definition at line 80 of file matlabmatrix.h.


The documentation for this class was generated from the following file: