#include <matrix2.h>
Collaboration diagram for matrix< T, 2, 2 >:
Public Types | |
typedef T | value_type |
Public Member Functions | |
matrix () | |
matrix (T a0, T a1, T a2, T a3) | |
matrix (const T *m) | |
matrix (const matrix< T, 2, 2 > &m) | |
matrix< T, 2, 2 > | operator+= (const matrix< T, 2, 2 > &m) |
matrix< T, 2, 2 > | operator-= (const matrix< T, 2, 2 > &m) |
matrix< T, 2, 2 > | operator *= (const T &num) |
matrix< T, 2, 2 > | operator/= (const T &num) |
const bool | operator== (const matrix< T, 2, 2 > &m) const |
const bool | operator!= (const matrix< T, 2, 2 > &m) const |
const matrix< T, 2, 2 > | operator- () const |
const matrix< T, 2, 2 > | operator * (const T &num) const |
const matrix< T, 2, 2 > | operator/ (const T &num) const |
void | row (unsigned int pRow, const vectorn< T, 2 > &pV) |
void | column (unsigned int pColumn, const vectorn< T, 2 > &pV) |
const vectorn< T, 2 > | row (int idx) |
const vectorn< T, 2 > | column (int idx) |
operator T * () | |
operator const T * () const | |
Public Attributes | |
T | xx |
T | xy |
T | yx |
T | yy |
Friends | |
std::ostream & | operator<< (std::ostream &out, const matrix< T, 2, 2 > &m) |
matrix< T, 2, 2 > | operator+ (const matrix< T, 2, 2 > &m1, const matrix< T, 2, 2 > &m2) |
matrix< T, 2, 2 > | operator- (const matrix< T, 2, 2 > &m1, const matrix< T, 2, 2 > &m2) |
const matrix< T, 2, 2 > | operator * (const T &s, const matrix< T, 2, 2 > &m) |
matrix< T, 2, 2 > | operator * (const matrix< T, 2, 2 > &m1, const matrix< T, 2, 2 > &m2) |
const vectorn< T, 2 > | operator * (const matrix< T, 2, 2 > &m, const vectorn< T, 2 > &v) |
typedef T matrix< T, 2, 2 >::value_type |
matrix<T,2,2> matrix< T, 2, 2 >::operator+= | ( | const matrix< T, 2, 2 > & | m | ) | [inline] |
matrix<T,2,2> matrix< T, 2, 2 >::operator-= | ( | const matrix< T, 2, 2 > & | m | ) | [inline] |
const bool matrix< T, 2, 2 >::operator== | ( | const matrix< T, 2, 2 > & | m | ) | const [inline] |
const bool matrix< T, 2, 2 >::operator!= | ( | const matrix< T, 2, 2 > & | m | ) | const [inline] |
const matrix<T,2,2> matrix< T, 2, 2 >::operator * | ( | const T & | num | ) | const [inline] |
const matrix<T,2,2> matrix< T, 2, 2 >::operator/ | ( | const T & | num | ) | const [inline] |
void matrix< T, 2, 2 >::row | ( | unsigned int | pRow, | |
const vectorn< T, 2 > & | pV | |||
) | [inline] |
void matrix< T, 2, 2 >::column | ( | unsigned int | pColumn, | |
const vectorn< T, 2 > & | pV | |||
) | [inline] |
matrix< T, 2, 2 >::operator T * | ( | ) | [inline] |
matrix< T, 2, 2 >::operator const T * | ( | ) | const [inline] |
std::ostream& operator<< | ( | std::ostream & | out, | |
const matrix< T, 2, 2 > & | m | |||
) | [friend] |
matrix<T,2,2> operator+ | ( | const matrix< T, 2, 2 > & | m1, | |
const matrix< T, 2, 2 > & | m2 | |||
) | [friend] |
matrix<T,2,2> operator- | ( | const matrix< T, 2, 2 > & | m1, | |
const matrix< T, 2, 2 > & | m2 | |||
) | [friend] |
const matrix<T,2,2> operator * | ( | const T & | s, | |
const matrix< T, 2, 2 > & | m | |||
) | [friend] |
matrix<T,2,2> operator * | ( | const matrix< T, 2, 2 > & | m1, | |
const matrix< T, 2, 2 > & | m2 | |||
) | [friend] |
const vectorn<T,2> operator * | ( | const matrix< T, 2, 2 > & | m, | |
const vectorn< T, 2 > & | v | |||
) | [friend] |