Open Dynamics Engine
Public Member Functions | Private Attributes | List of all members
dMatrix Class Reference

Public Member Functions

 dMatrix (int rows, int cols)
 
 dMatrix (const dMatrix &)
 
 dMatrix (int rows, int cols, dReal *_data, int rowskip, int colskip)
 
dReal & operator() (int i, int j)
 
void operator= (const dMatrix &)
 
void operator= (dReal)
 
dMatrix transpose ()
 
dMatrix select (int np, int *p, int nq, int *q)
 
dMatrix operator+ (const dMatrix &)
 
dMatrix operator- (const dMatrix &)
 
dMatrix operator- ()
 
dMatrix operator* (const dMatrix &)
 
void operator+= (const dMatrix &)
 
void operator-= (const dMatrix &)
 
void clearUpperTriangle ()
 
void clearLowerTriangle ()
 
void makeRandom (dReal range)
 
void print (const char *fmt="%10.4f ", FILE *f=stdout)
 
dReal maxDifference (const dMatrix &)
 

Private Attributes

int n
 
int m
 
dReal * data
 

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