liballofw
|
#include <matrix.h>
Public Types | |
typedef T | number_t |
typedef Vector4_< T > | vector_t |
Public Member Functions | |
number_t * | data () |
const number_t * | data () const |
std::pair< int, int > | shape () const |
Matrix4_ ()=default | |
template<typename T1 > | |
vector_t | operator* (const vector_t &v) const |
Matrix4_ | operator+ (const Matrix4_ &m) const |
Matrix4_ | operator- (const Matrix4_ &m) const |
Matrix4_ | operator* (number_t s) const |
Matrix4_ | operator* (const Matrix4_ &m) const |
number_t | determinant () const |
Matrix4_ | inversion () const |
Matrix4_ | i () const |
Matrix4_ | transpose () const |
Matrix4_ | t () const |
number_t | max () const |
number_t | min () const |
Matrix4_ | abs () const |
Static Public Member Functions | |
static Matrix4_ | zero () |
static Matrix4_ | eye () |
template<typename Generator > | |
static Matrix4_ | random (Generator generator) |
static Matrix4_ | fromDiagonal (const vector_t &diag) |
static Matrix4_ | fromColumns (const vector_t &e1, const vector_t &e2, const vector_t &e3, const vector_t &e4) |
static Matrix4_ | fromRows (const vector_t &e1, const vector_t &e2, const vector_t &e3, const vector_t &e4) |
Public Attributes | |
number_t | a11 |
number_t | a21 |
number_t | a31 |
number_t | a41 |
number_t | a12 |
number_t | a22 |
number_t | a32 |
number_t | a42 |
number_t | a13 |
number_t | a23 |
number_t | a33 |
number_t | a43 |
number_t | a14 |
number_t | a24 |
number_t | a34 |
number_t | a44 |
Static Public Attributes | |
static const size_t | size = 16 |
Friends | |
number_t | max (const Matrix4_ &m) |
number_t | min (const Matrix4_ &m) |
Matrix4_ | abs (const Matrix4_ &m) |
typedef T allofw::Matrix4_< T >::number_t |
typedef Vector4_<T> allofw::Matrix4_< T >::vector_t |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
number_t allofw::Matrix4_< T >::a11 |
number_t allofw::Matrix4_< T >::a12 |
number_t allofw::Matrix4_< T >::a13 |
number_t allofw::Matrix4_< T >::a14 |
number_t allofw::Matrix4_< T >::a21 |
number_t allofw::Matrix4_< T >::a22 |
number_t allofw::Matrix4_< T >::a23 |
number_t allofw::Matrix4_< T >::a24 |
number_t allofw::Matrix4_< T >::a31 |
number_t allofw::Matrix4_< T >::a32 |
number_t allofw::Matrix4_< T >::a33 |
number_t allofw::Matrix4_< T >::a34 |
number_t allofw::Matrix4_< T >::a41 |
number_t allofw::Matrix4_< T >::a42 |
number_t allofw::Matrix4_< T >::a43 |
number_t allofw::Matrix4_< T >::a44 |
|
static |