![]() |
PeriDyno 1.0.0
|
#include <Matrix3x3.h>
Public Types | |
typedef T | VarType |
Public Member Functions | |
DYN_FUNC | SquareMatrix () |
DYN_FUNC | SquareMatrix (T) |
DYN_FUNC | SquareMatrix (T x00, T x01, T x02, T x10, T x11, T x12, T x20, T x21, T x22) |
DYN_FUNC | SquareMatrix (const Vector< T, 3 > &row1, const Vector< T, 3 > &row2, const Vector< T, 3 > &row3) |
DYN_FUNC | SquareMatrix (const SquareMatrix< T, 3 > &) |
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, 3 > | row (unsigned int i) const |
DYN_FUNC const Vector< T, 3 > | col (unsigned int i) const |
DYN_FUNC void | setRow (unsigned int i, const Vector< T, 3 > &vec) |
DYN_FUNC void | setCol (unsigned int j, const Vector< T, 3 > &vec) |
DYN_FUNC const SquareMatrix< T, 3 > | operator+ (const SquareMatrix< T, 3 > &) const |
DYN_FUNC SquareMatrix< T, 3 > & | operator+= (const SquareMatrix< T, 3 > &) |
DYN_FUNC const SquareMatrix< T, 3 > | operator- (const SquareMatrix< T, 3 > &) const |
DYN_FUNC SquareMatrix< T, 3 > & | operator-= (const SquareMatrix< T, 3 > &) |
DYN_FUNC const SquareMatrix< T, 3 > | operator* (const SquareMatrix< T, 3 > &) const |
DYN_FUNC SquareMatrix< T, 3 > & | operator*= (const SquareMatrix< T, 3 > &) |
DYN_FUNC const SquareMatrix< T, 3 > | operator/ (const SquareMatrix< T, 3 > &) const |
DYN_FUNC SquareMatrix< T, 3 > & | operator/= (const SquareMatrix< T, 3 > &) |
DYN_FUNC SquareMatrix< T, 3 > & | operator= (const SquareMatrix< T, 3 > &) |
DYN_FUNC bool | operator== (const SquareMatrix< T, 3 > &) const |
DYN_FUNC bool | operator!= (const SquareMatrix< T, 3 > &) const |
DYN_FUNC const SquareMatrix< T, 3 > | operator* (const T &) const |
DYN_FUNC SquareMatrix< T, 3 > & | operator*= (const T &) |
DYN_FUNC const SquareMatrix< T, 3 > | operator/ (const T &) const |
DYN_FUNC SquareMatrix< T, 3 > & | operator/= (const T &) |
DYN_FUNC const Vector< T, 3 > | operator* (const Vector< T, 3 > &) const |
DYN_FUNC const SquareMatrix< T, 3 > | operator- (void) const |
DYN_FUNC const SquareMatrix< T, 3 > | transpose () const |
DYN_FUNC const SquareMatrix< T, 3 > | inverse () const |
DYN_FUNC T | determinant () const |
DYN_FUNC T | trace () const |
DYN_FUNC T | doubleContraction (const SquareMatrix< T, 3 > &) 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 |
![]() | |
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, 3 > | identityMatrix () |
static DYN_FUNC const SquareMatrix< T, 3 > | diagonalMatrix (const Vector< T, 3 > vec) |
Protected Attributes | |
Vector< T, 3 > | data_ [3] |
Definition at line 15 of file Matrix3x3.h.
typedef T dyno::SquareMatrix< T, 3 >::VarType |
Definition at line 18 of file Matrix3x3.h.
DYN_FUNC dyno::SquareMatrix< T, 3 >::SquareMatrix | ( | ) |
Definition at line 9 of file Matrix3x3.inl.
|
explicit |
DYN_FUNC dyno::SquareMatrix< T, 3 >::SquareMatrix | ( | T | x00, |
T | x01, | ||
T | x02, | ||
T | x10, | ||
T | x11, | ||
T | x12, | ||
T | x20, | ||
T | x21, | ||
T | x22 ) |
Definition at line 21 of file Matrix3x3.inl.
DYN_FUNC dyno::SquareMatrix< T, 3 >::SquareMatrix | ( | const Vector< T, 3 > & | row1, |
const Vector< T, 3 > & | row2, | ||
const Vector< T, 3 > & | row3 ) |
Definition at line 29 of file Matrix3x3.inl.
DYN_FUNC dyno::SquareMatrix< T, 3 >::SquareMatrix | ( | const SquareMatrix< T, 3 > & | mat | ) |
DYN_FUNC dyno::SquareMatrix< T, 3 >::~SquareMatrix | ( | ) |
Definition at line 45 of file Matrix3x3.inl.
|
inline |
Definition at line 10 of file SquareMatrix.h.
|
inline |
Definition at line 11 of file SquareMatrix.h.
DYN_FUNC const Vector< T, 3 > dyno::SquareMatrix< T, 3 >::col | ( | unsigned int | i | ) | const |
|
inlinestatic |
Definition at line 29 of file Matrix3x3.h.
|
virtual |
Implements dyno::MatrixBase.
DYN_FUNC T dyno::SquareMatrix< T, 3 >::determinant | ( | ) | const |
Definition at line 275 of file Matrix3x3.inl.
|
static |
DYN_FUNC T dyno::SquareMatrix< T, 3 >::doubleContraction | ( | const SquareMatrix< T, 3 > & | mat2 | ) | const |
DYN_FUNC T dyno::SquareMatrix< T, 3 >::frobeniusNorm | ( | ) | const |
|
inline |
Definition at line 76 of file Matrix3x3.h.
|
static |
DYN_FUNC T dyno::SquareMatrix< T, 3 >::infNorm | ( | ) | const |
DYN_FUNC const SquareMatrix< T, 3 > dyno::SquareMatrix< T, 3 >::inverse | ( | ) | const |
DYN_FUNC T dyno::SquareMatrix< T, 3 >::oneNorm | ( | ) | const |
DYN_FUNC bool dyno::SquareMatrix< T, 3 >::operator!= | ( | const SquareMatrix< T, 3 > & | mat2 | ) | const |
DYN_FUNC T & dyno::SquareMatrix< T, 3 >::operator() | ( | unsigned int | i, |
unsigned int | j ) |
DYN_FUNC const T & dyno::SquareMatrix< T, 3 >::operator() | ( | unsigned int | i, |
unsigned int | j ) const |
DYN_FUNC const SquareMatrix< T, 3 > dyno::SquareMatrix< T, 3 >::operator* | ( | const SquareMatrix< T, 3 > & | mat2 | ) | const |
DYN_FUNC const SquareMatrix< T, 3 > dyno::SquareMatrix< T, 3 >::operator* | ( | const T & | scale | ) | const |
DYN_FUNC SquareMatrix< T, 3 > & dyno::SquareMatrix< T, 3 >::operator*= | ( | const SquareMatrix< T, 3 > & | mat2 | ) |
DYN_FUNC SquareMatrix< T, 3 > & dyno::SquareMatrix< T, 3 >::operator*= | ( | const T & | scale | ) |
DYN_FUNC const SquareMatrix< T, 3 > dyno::SquareMatrix< T, 3 >::operator+ | ( | const SquareMatrix< T, 3 > & | mat2 | ) | const |
DYN_FUNC SquareMatrix< T, 3 > & dyno::SquareMatrix< T, 3 >::operator+= | ( | const SquareMatrix< T, 3 > & | mat2 | ) |
DYN_FUNC const SquareMatrix< T, 3 > dyno::SquareMatrix< T, 3 >::operator- | ( | const SquareMatrix< T, 3 > & | mat2 | ) | const |
DYN_FUNC const SquareMatrix< T, 3 > dyno::SquareMatrix< T, 3 >::operator- | ( | void | ) | const |
DYN_FUNC SquareMatrix< T, 3 > & dyno::SquareMatrix< T, 3 >::operator-= | ( | const SquareMatrix< T, 3 > & | mat2 | ) |
DYN_FUNC const SquareMatrix< T, 3 > dyno::SquareMatrix< T, 3 >::operator/ | ( | const SquareMatrix< T, 3 > & | mat2 | ) | const |
DYN_FUNC const SquareMatrix< T, 3 > dyno::SquareMatrix< T, 3 >::operator/ | ( | const T & | scale | ) | const |
DYN_FUNC SquareMatrix< T, 3 > & dyno::SquareMatrix< T, 3 >::operator/= | ( | const SquareMatrix< T, 3 > & | mat2 | ) |
DYN_FUNC SquareMatrix< T, 3 > & dyno::SquareMatrix< T, 3 >::operator/= | ( | const T & | scale | ) |
DYN_FUNC SquareMatrix< T, 3 > & dyno::SquareMatrix< T, 3 >::operator= | ( | const SquareMatrix< T, 3 > & | mat2 | ) |
DYN_FUNC bool dyno::SquareMatrix< T, 3 >::operator== | ( | const SquareMatrix< T, 3 > & | mat2 | ) | const |
DYN_FUNC const Vector< T, 3 > dyno::SquareMatrix< T, 3 >::row | ( | unsigned int | i | ) | const |
|
inlinestatic |
Definition at line 28 of file Matrix3x3.h.
|
virtual |
Implements dyno::MatrixBase.
DYN_FUNC void dyno::SquareMatrix< T, 3 >::setCol | ( | unsigned int | j, |
const Vector< T, 3 > & | vec ) |
DYN_FUNC void dyno::SquareMatrix< T, 3 >::setRow | ( | unsigned int | i, |
const Vector< T, 3 > & | vec ) |
DYN_FUNC T dyno::SquareMatrix< T, 3 >::trace | ( | ) | const |
DYN_FUNC const SquareMatrix< T, 3 > dyno::SquareMatrix< T, 3 >::transpose | ( | ) | const |
Definition at line 237 of file Matrix3x3.inl.
|
protected |
Definition at line 79 of file Matrix3x3.h.