ScummVM API documentation
dgGeneralMatrix< T > Class Template Reference

Public Member Functions

 dgGeneralMatrix (dgInt32 row, dgInt32 column)
 
 dgGeneralMatrix (const dgGeneralMatrix< T > &src)
 
 dgGeneralMatrix (const dgGeneralMatrix< T > &src, T *elemBuffer)
 
 dgGeneralMatrix (dgInt32 row, dgInt32 column, T *elemBuffer)
 
dgGeneralVector< T > & operator[] (dgInt32 i)
 
const dgGeneralVector< T > & operator[] (dgInt32 i) const
 
dgInt32 GetRowCount () const
 
dgInt32 GetColCount () const
 
void Clear (T val)
 
void Identity ()
 
void SwapRows (dgInt32 i, dgInt32 j)
 
void SwapColumns (dgInt32 i, dgInt32 j)
 
void GaussianPivotStep (dgInt32 srcRow, dgInt32 pivotRow, dgInt32 pivotCol, T tol=T(1.0e-6f))
 
void VectorTimeMatrix (const dgGeneralVector< T > &v, dgGeneralVector< T > &out)
 
void MatrixTimeVectorTranspose (const dgGeneralVector< T > &v, dgGeneralVector< T > &out)
 
void MatrixTimeMatrix (const dgGeneralMatrix< T > &A, const dgGeneralMatrix< T > &B)
 
void MatrixTimeMatrixTranspose (const dgGeneralMatrix< T > &A, const dgGeneralMatrix< T > &Bt)
 
bool Solve (dgGeneralVector< T > &b, T tol=T(0.0f))
 
bool CholeskyDecomposition ()
 
bool TestPSD () const
 
bool TestSymetry () const
 
void Trace () const
 

Protected Attributes

bool m_ownMemory
 
dgInt32 m_rowCount
 
dgInt32 m_colCount
 
dgGeneralVector< T > * m_rows
 

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