![]() |
PeriDyno 1.2.1
|
#include <Matrix2x2.h>


Public Types | |
| typedef T | VarType |
Public Member Functions | |
| DYN_FUNC | SquareMatrix () |
| DYN_FUNC | SquareMatrix (T) |
| DYN_FUNC | SquareMatrix (T x00, T x01, T x10, T x11) |
| DYN_FUNC | SquareMatrix (const Vector< T, 2 > &row1, const Vector< T, 2 > &row2) |
| DYN_FUNC | SquareMatrix (const SquareMatrix< T, 2 > &) |
| DYN_FUNC | ~SquareMatrix () |
| DYN_FUNC T & | operator() (unsigned int i, unsigned int j) |
| DYN_FUNC const T & | operator() (unsigned int i, unsigned int j) const |
| DYN_FUNC const Vector< T, 2 > | row (unsigned int i) const |
| DYN_FUNC const Vector< T, 2 > | col (unsigned int i) const |
| DYN_FUNC void | setRow (unsigned int i, const Vector< T, 2 > &vec) |
| DYN_FUNC void | setCol (unsigned int j, const Vector< T, 2 > &vec) |
| DYN_FUNC const SquareMatrix< T, 2 > | operator+ (const SquareMatrix< T, 2 > &) const |
| DYN_FUNC SquareMatrix< T, 2 > & | operator+= (const SquareMatrix< T, 2 > &) |
| DYN_FUNC const SquareMatrix< T, 2 > | operator- (const SquareMatrix< T, 2 > &) const |
| DYN_FUNC SquareMatrix< T, 2 > & | operator-= (const SquareMatrix< T, 2 > &) |
| DYN_FUNC const SquareMatrix< T, 2 > | operator* (const SquareMatrix< T, 2 > &) const |
| DYN_FUNC SquareMatrix< T, 2 > & | operator*= (const SquareMatrix< T, 2 > &) |
| DYN_FUNC const SquareMatrix< T, 2 > | operator/ (const SquareMatrix< T, 2 > &) const |
| DYN_FUNC SquareMatrix< T, 2 > & | operator/= (const SquareMatrix< T, 2 > &) |
| DYN_FUNC SquareMatrix< T, 2 > & | operator= (const SquareMatrix< T, 2 > &) |
| DYN_FUNC bool | operator== (const SquareMatrix< T, 2 > &) const |
| DYN_FUNC bool | operator!= (const SquareMatrix< T, 2 > &) const |
| DYN_FUNC const SquareMatrix< T, 2 > | operator* (const T &) const |
| DYN_FUNC SquareMatrix< T, 2 > & | operator*= (const T &) |
| DYN_FUNC const SquareMatrix< T, 2 > | operator/ (const T &) const |
| DYN_FUNC SquareMatrix< T, 2 > & | operator/= (const T &) |
| DYN_FUNC const Vector< T, 2 > | operator* (const Vector< T, 2 > &) const |
| DYN_FUNC const SquareMatrix< T, 2 > | operator- (void) const |
| DYN_FUNC const SquareMatrix< T, 2 > | transpose () const |
| DYN_FUNC const SquareMatrix< T, 2 > | inverse () const |
| DYN_FUNC T | determinant () const |
| DYN_FUNC T | trace () const |
| DYN_FUNC T | doubleContraction (const SquareMatrix< T, 2 > &) const |
| DYN_FUNC T | frobeniusNorm () const |
| DYN_FUNC T | oneNorm () const |
| DYN_FUNC T | infNorm () const |
| DYN_FUNC T * | getDataPtr () |
| SquareMatrix () | |
| ~SquareMatrix () | |
| virtual unsigned int | rows () const |
| virtual unsigned int | cols () const |
Public Member Functions inherited from dyno::MatrixBase | |
| MatrixBase () | |
| virtual | ~MatrixBase () |
Static Public Member Functions | |
| static DYN_FUNC unsigned int | rows () |
| static DYN_FUNC unsigned int | cols () |
| static DYN_FUNC const SquareMatrix< T, 2 > | identityMatrix () |
Protected Attributes | |
| glm::tmat2x2< T > | data_ |
Definition at line 10 of file Matrix2x2.h.
| typedef T dyno::SquareMatrix< T, 2 >::VarType |
Definition at line 13 of file Matrix2x2.h.
| DYN_FUNC dyno::SquareMatrix< T, 2 >::SquareMatrix | ( | ) |
Definition at line 9 of file Matrix2x2.inl.


|
explicit |
| DYN_FUNC dyno::SquareMatrix< T, 2 >::SquareMatrix | ( | T | x00, |
| T | x01, | ||
| T | x10, | ||
| T | x11 ) |
Definition at line 21 of file Matrix2x2.inl.
| DYN_FUNC dyno::SquareMatrix< T, 2 >::SquareMatrix | ( | const Vector< T, 2 > & | row1, |
| const Vector< T, 2 > & | row2 ) |
Definition at line 27 of file Matrix2x2.inl.
| DYN_FUNC dyno::SquareMatrix< T, 2 >::SquareMatrix | ( | const SquareMatrix< T, 2 > & | mat | ) |
| DYN_FUNC dyno::SquareMatrix< T, 2 >::~SquareMatrix | ( | ) |
Definition at line 39 of file Matrix2x2.inl.
|
inline |
Definition at line 10 of file SquareMatrix.h.
|
inline |
Definition at line 11 of file SquareMatrix.h.
| DYN_FUNC const Vector< T, 2 > dyno::SquareMatrix< T, 2 >::col | ( | unsigned int | i | ) | const |
|
inlinestatic |
Definition at line 24 of file Matrix2x2.h.
|
virtual |
Implements dyno::MatrixBase.
| DYN_FUNC T dyno::SquareMatrix< T, 2 >::determinant | ( | ) | const |
| DYN_FUNC T dyno::SquareMatrix< T, 2 >::doubleContraction | ( | const SquareMatrix< T, 2 > & | mat2 | ) | const |
| DYN_FUNC T dyno::SquareMatrix< T, 2 >::frobeniusNorm | ( | ) | const |
|
inline |
Definition at line 70 of file Matrix2x2.h.
|
static |
| DYN_FUNC T dyno::SquareMatrix< T, 2 >::infNorm | ( | ) | const |
| DYN_FUNC const SquareMatrix< T, 2 > dyno::SquareMatrix< T, 2 >::inverse | ( | ) | const |
| DYN_FUNC T dyno::SquareMatrix< T, 2 >::oneNorm | ( | ) | const |
| DYN_FUNC bool dyno::SquareMatrix< T, 2 >::operator!= | ( | const SquareMatrix< T, 2 > & | mat2 | ) | const |
| DYN_FUNC T & dyno::SquareMatrix< T, 2 >::operator() | ( | unsigned int | i, |
| unsigned int | j ) |
| DYN_FUNC const T & dyno::SquareMatrix< T, 2 >::operator() | ( | unsigned int | i, |
| unsigned int | j ) const |
| DYN_FUNC const SquareMatrix< T, 2 > dyno::SquareMatrix< T, 2 >::operator* | ( | const SquareMatrix< T, 2 > & | mat2 | ) | const |
| DYN_FUNC const SquareMatrix< T, 2 > dyno::SquareMatrix< T, 2 >::operator* | ( | const T & | scale | ) | const |
| DYN_FUNC SquareMatrix< T, 2 > & dyno::SquareMatrix< T, 2 >::operator*= | ( | const SquareMatrix< T, 2 > & | mat2 | ) |
| DYN_FUNC SquareMatrix< T, 2 > & dyno::SquareMatrix< T, 2 >::operator*= | ( | const T & | scale | ) |
| DYN_FUNC const SquareMatrix< T, 2 > dyno::SquareMatrix< T, 2 >::operator+ | ( | const SquareMatrix< T, 2 > & | mat2 | ) | const |
| DYN_FUNC SquareMatrix< T, 2 > & dyno::SquareMatrix< T, 2 >::operator+= | ( | const SquareMatrix< T, 2 > & | mat2 | ) |
| DYN_FUNC const SquareMatrix< T, 2 > dyno::SquareMatrix< T, 2 >::operator- | ( | const SquareMatrix< T, 2 > & | mat2 | ) | const |
| DYN_FUNC const SquareMatrix< T, 2 > dyno::SquareMatrix< T, 2 >::operator- | ( | void | ) | const |
| DYN_FUNC SquareMatrix< T, 2 > & dyno::SquareMatrix< T, 2 >::operator-= | ( | const SquareMatrix< T, 2 > & | mat2 | ) |
| DYN_FUNC const SquareMatrix< T, 2 > dyno::SquareMatrix< T, 2 >::operator/ | ( | const SquareMatrix< T, 2 > & | mat2 | ) | const |
| DYN_FUNC const SquareMatrix< T, 2 > dyno::SquareMatrix< T, 2 >::operator/ | ( | const T & | scale | ) | const |
| DYN_FUNC SquareMatrix< T, 2 > & dyno::SquareMatrix< T, 2 >::operator/= | ( | const SquareMatrix< T, 2 > & | mat2 | ) |
| DYN_FUNC SquareMatrix< T, 2 > & dyno::SquareMatrix< T, 2 >::operator/= | ( | const T & | scale | ) |
| DYN_FUNC SquareMatrix< T, 2 > & dyno::SquareMatrix< T, 2 >::operator= | ( | const SquareMatrix< T, 2 > & | mat | ) |
| DYN_FUNC bool dyno::SquareMatrix< T, 2 >::operator== | ( | const SquareMatrix< T, 2 > & | mat2 | ) | const |
| DYN_FUNC const Vector< T, 2 > dyno::SquareMatrix< T, 2 >::row | ( | unsigned int | i | ) | const |
|
inlinestatic |
Definition at line 23 of file Matrix2x2.h.
|
virtual |
Implements dyno::MatrixBase.
| DYN_FUNC void dyno::SquareMatrix< T, 2 >::setCol | ( | unsigned int | j, |
| const Vector< T, 2 > & | vec ) |
| DYN_FUNC void dyno::SquareMatrix< T, 2 >::setRow | ( | unsigned int | i, |
| const Vector< T, 2 > & | vec ) |
| DYN_FUNC T dyno::SquareMatrix< T, 2 >::trace | ( | ) | const |
| DYN_FUNC const SquareMatrix< T, 2 > dyno::SquareMatrix< T, 2 >::transpose | ( | ) | const |
|
protected |
Definition at line 73 of file Matrix2x2.h.