#include <CMatrix.h>
Public Member Functions | |
| CMatrix () | |
| CMatrix (TType *pfData) | |
| CMatrix (TType **pfData) | |
| void | zero (void) |
| void | output (std::ostream &out=std::cout) const |
| void | eye (void) |
| TType | get (const int iX, const int iY) const |
| void | set (const int iX, const int iY, const TType &fParam) |
| TType | normInfty (void) |
| TType | normOne (void) |
| CMatrix< Y, X, TType > | transpose (void) const |
| template<int Z> | |
| CMatrix< X, Z, TType > | operator * (const CMatrix< Y, Z, TType > ¶m) const |
| CMatrix< X, Y, TType > | operator * (const float f) |
| int | getMaxEntryColumn (int iColumn, int iRow=1) |
| void | exchangeRows (int iRow1, int iRow2) |
| void | exchangeColumns (int iColumn1, int iColumn2) |
| CMatrix< X, X, TType > | inverse (void) const |
| template<class VectorTType> | |
| Vector3DT< VectorTType > | operator * (const Vector3DT< VectorTType > &V) const |
| template<class VectorTType> | |
| Vector3DT< VectorTType > | affMult (const Vector3DT< VectorTType > &V) const |
| CMatrix< X, Y, TType > & | operator= (const CMatrix< X, Y, TType > ¶m) |
| bool | operator== (const CMatrix< X, Y, TType > ¶m) |
| template<class TVectorType> | |
| CMatrix< X, Y, TType > & | operator= (const Vector3DT< TVectorType > &V) |
| operator float * (void) | |
| operator const float * (void) const | |
Static Public Member Functions | |
| template<class TVecType> | |
| static CMatrix< 4, 4, TType > | getTranslate (const Vector3DT< TVecType > &V) |
| static CMatrix< 4, 4, TType > | getRotateX (float fAngle) |
| static CMatrix< 4, 4, TType > | getRotateY (float fAngle) |
| static CMatrix< 4, 4, TType > | getRotateZ (float fAngle) |
Public Attributes | |
| TType | m_pfElem [X][Y] |
Definition at line 39 of file CMatrix.h.
|
|||||||||
|
constructor : nothing to do here yet
|
|
||||||||||
|
constructor : copy elements from a one dimensional field one row after another
|
|
||||||||||
|
constructor: copy elements from a two dimensional field
|
|
||||||||||||||
|
4x4 matrix multiplication with a vector interpreted as ( v, 1) possible exceptions
Definition at line 489 of file CMatrix.h. Referenced by CInt1VRenderer::calculate(). |
|
||||||||||||||||
|
exchange 2 Columns
|
|
||||||||||||||||
|
exchange 2 rows
|
|
||||||||||
|
setting all entries to zero and the main diagonal to 1.
Definition at line 127 of file CMatrix.h. Referenced by CShearWarp2VRenderer::calculate(), CMatrix< 4, 4, float >::getRotateX(), CMatrix< 4, 4, float >::getRotateY(), CMatrix< 4, 4, float >::getRotateZ(), CMatrix< 4, 4, float >::getTranslate(), and CMatrix< 4, 4, float >::inverse(). |
|
||||||||||||||||
|
get an entry of the matrix. note that the indices are 1..X and 1..Y respectively, not like 0..X-1 like in C fields possible exceptions
Definition at line 155 of file CMatrix.h. Referenced by CShearWarp2VRenderer::calculate(), and CMatrix< 4, 4, float >::output(). |
|
||||||||||||||||
|
returns the maximal entry inside a column starting at iRow
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||||||
|
returns a 4x4 translation matrix for a given vector
Definition at line 570 of file CMatrix.h. Referenced by CShearWarp2VRenderer::calculate(). |
|
||||||||||
|
calculates the inverse of a matrix using the GaussJordan-Algorithm possible exceptions Definition at line 377 of file CMatrix.h. Referenced by CShearWarp2VRenderer::calculate(). |
|
||||||||||
|
infinity norm - maximum row-sum
|
|
||||||||||
|
one norm - maximum column-sum
|
|
||||||||||||||
|
matrix multiplication with a vector
|
|
||||||||||
|
scalar multiplication with a matrix
|
|
||||||||||||||
|
matrix multiplication with another matrix
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||||||
|
copies a vector to a 4x1 matrix, setting the fourth component to 1
|
|
||||||||||
|
copies the matrix
|
|
||||||||||
|
checks if 2 matrices are identical
|
|
||||||||||
|
outputs this matrix to out with std::endl at the end of each row
Definition at line 108 of file CMatrix.h. Referenced by CShearWarp2VRenderer::calculate(). |
|
||||||||||||||||||||
|
sets an entry of the matrix. note that the indices are 1..X and 1..Y respectively, not like 0..X-1 like in C fields possible exceptions
Definition at line 180 of file CMatrix.h. Referenced by CShearWarp2VRenderer::calculate(), and CTexture1VRenderer::drawScene(). |
|
||||||||||
|
returns the transposed matrix
Definition at line 241 of file CMatrix.h. Referenced by CShearWarp2VRenderer::calculate(). |
|
||||||||||
|
setting all entries to zero.
Definition at line 98 of file CMatrix.h. Referenced by CShearWarp2VRenderer::calculate(), CTexture1VRenderer::drawScene(), and CVRendererSceneConfig::zero(). |
|
|||||
1.4.3-20050530