matrix class and its associated functions.
More...
matrix class and its associated functions.
The functions provide numerous overloaded arithmetic operators, so matrix calculations can be written in a natural way.
Definition in file matrix2x2.h.
bool operator== (const matrix2x2 & a, const matrix2x2 & b) [inline]
|
Definition at line 299 of file matrix2x2.h.
matrix2x2 operator- (const matrix2x2 & a, const matrix2x2 & b) [inline]
|
Definition at line 307 of file matrix2x2.h.
matrix2x2 operator- (const matrix2x2 & a) [inline]
|
Definition at line 318 of file matrix2x2.h.
matrix2x2 operator * (const double k, const matrix2x2 & v) [inline]
|
Definition at line 325 of file matrix2x2.h.
matrix2x2 operator * (const matrix2x2 & M, const double k) [inline]
|
Definition at line 152 of file matrix2x2.h.
vector2 operator * (const matrix2x2 & M, const vector2 & x) [inline]
|
Definition at line 336 of file matrix2x2.h.
matrix2x2 operator/ (const matrix2x2 & v, const double k) [inline]
|
Definition at line 388 of file matrix2x2.h.
matrix2x2 operator+ (const matrix2x2 & a, const matrix2x2 & b) [inline]
|
Definition at line 347 of file matrix2x2.h.
matrix2x2 & operator+= (matrix2x2 & a, const matrix2x2 & b) [inline]
|
Definition at line 358 of file matrix2x2.h.
matrix2x2 & operator-= (matrix2x2 & a, const matrix2x2 & b) [inline]
|
Definition at line 368 of file matrix2x2.h.
matrix2x2 & operator *= (matrix2x2 & a, const double k) [inline]
|
Definition at line 378 of file matrix2x2.h.
matrix2x2 & operator *= (vector2 & a, const matrix2x2 & M) [inline]
|
double det (const matrix2x2 & v) [inline]
|
Calculate the determinant of a matrix.
| v | the matrix |
Definition at line 398 of file matrix2x2.h.
void transpose (matrix2x2 & m) [inline]
|
Transpose of a matrix.
| m | the matrix |
| the | transpose of the matrix. |
Definition at line 405 of file matrix2x2.h.
matrix2x2 transpose (const matrix2x2 & m) [inline]
|
Calculate the transpose of a matrix.
| v | the matrix |
Definition at line 412 of file matrix2x2.h.
vector<double> operator *<double> (const double k, const matrix2x2 & v) [inline]
|
Definition at line 325 of file matrix2x2.h.
vector2 operator * (const matrix2x2 & M, const vector2 & x) [inline]
|
Definition at line 336 of file matrix2x2.h.
matrix2x2 & operator+= (matrix2x2 & a, const matrix2x2 & b) [inline]
|
Definition at line 358 of file matrix2x2.h.
matrix2x2 & operator-= (matrix2x2 & a, const matrix2x2 & b) [inline]
|
Definition at line 368 of file matrix2x2.h.
1.0.0 written by Dimitri van Heesch,
© 1997-1999