liballofw
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Friends | List of all members
allofw::Matrix3_< T > Struct Template Reference

#include <matrix.h>

Public Types

typedef T number_t
 
typedef Vector3_< T > vector_t
 

Public Member Functions

number_tdata ()
 
const number_tdata () const
 
std::pair< int, int > shape () const
 
 Matrix3_ ()=default
 
vector_t operator* (const vector_t &v) const
 
Matrix3_ operator+ (const Matrix3_ &m) const
 
Matrix3_ operator- (const Matrix3_ &m) const
 
Matrix3_ operator* (number_t s) const
 
Matrix3_ operator* (const Matrix3_ &m) const
 
number_t determinant () const
 
Matrix3_ inversion () const
 
Matrix3_ i () const
 
Matrix3_ transpose () const
 
Matrix3_ t () const
 
number_t max () const
 
number_t min () const
 
Matrix3_ abs () const
 

Static Public Member Functions

static Matrix3_ zero ()
 
static Matrix3_ eye ()
 
template<typename Generator >
static Matrix3_ random (Generator generator)
 
static Matrix3_ fromDiagonal (const vector_t &diag)
 
static Matrix3_ fromColumns (const vector_t &e1, const vector_t &e2, const vector_t &e3)
 
static Matrix3_ fromRows (const vector_t &e1, const vector_t &e2, const vector_t &e3)
 
static Matrix3_ skew (const vector_t &v)
 

Public Attributes

number_t a11
 
number_t a21
 
number_t a31
 
number_t a12
 
number_t a22
 
number_t a32
 
number_t a13
 
number_t a23
 
number_t a33
 

Static Public Attributes

static const size_t size = 9
 

Friends

number_t max (const Matrix3_ &m)
 
number_t min (const Matrix3_ &m)
 
Matrix3_ abs (const Matrix3_ &m)
 

Member Typedef Documentation

template<typename T>
typedef T allofw::Matrix3_< T >::number_t
template<typename T>
typedef Vector3_<T> allofw::Matrix3_< T >::vector_t

Constructor & Destructor Documentation

template<typename T>
allofw::Matrix3_< T >::Matrix3_ ( )
default

Member Function Documentation

template<typename T>
Matrix3_ allofw::Matrix3_< T >::abs ( ) const
inline
template<typename T>
number_t* allofw::Matrix3_< T >::data ( )
inline
template<typename T>
const number_t* allofw::Matrix3_< T >::data ( ) const
inline
template<typename T>
number_t allofw::Matrix3_< T >::determinant ( ) const
inline
template<typename T>
static Matrix3_ allofw::Matrix3_< T >::eye ( )
inlinestatic
template<typename T>
static Matrix3_ allofw::Matrix3_< T >::fromColumns ( const vector_t e1,
const vector_t e2,
const vector_t e3 
)
inlinestatic
template<typename T>
static Matrix3_ allofw::Matrix3_< T >::fromDiagonal ( const vector_t diag)
inlinestatic
template<typename T>
static Matrix3_ allofw::Matrix3_< T >::fromRows ( const vector_t e1,
const vector_t e2,
const vector_t e3 
)
inlinestatic
template<typename T>
Matrix3_ allofw::Matrix3_< T >::i ( ) const
inline
template<typename T>
Matrix3_ allofw::Matrix3_< T >::inversion ( ) const
inline
template<typename T>
number_t allofw::Matrix3_< T >::max ( ) const
inline
template<typename T>
number_t allofw::Matrix3_< T >::min ( ) const
inline
template<typename T>
vector_t allofw::Matrix3_< T >::operator* ( const vector_t v) const
inline
template<typename T>
Matrix3_ allofw::Matrix3_< T >::operator* ( number_t  s) const
inline
template<typename T>
Matrix3_ allofw::Matrix3_< T >::operator* ( const Matrix3_< T > &  m) const
inline
template<typename T>
Matrix3_ allofw::Matrix3_< T >::operator+ ( const Matrix3_< T > &  m) const
inline
template<typename T>
Matrix3_ allofw::Matrix3_< T >::operator- ( const Matrix3_< T > &  m) const
inline
template<typename T>
template<typename Generator >
static Matrix3_ allofw::Matrix3_< T >::random ( Generator  generator)
inlinestatic
template<typename T>
std::pair<int, int> allofw::Matrix3_< T >::shape ( ) const
inline
template<typename T>
static Matrix3_ allofw::Matrix3_< T >::skew ( const vector_t v)
inlinestatic
template<typename T>
Matrix3_ allofw::Matrix3_< T >::t ( ) const
inline
template<typename T>
Matrix3_ allofw::Matrix3_< T >::transpose ( ) const
inline
template<typename T>
static Matrix3_ allofw::Matrix3_< T >::zero ( )
inlinestatic

Friends And Related Function Documentation

template<typename T>
Matrix3_ abs ( const Matrix3_< T > &  m)
friend
template<typename T>
number_t max ( const Matrix3_< T > &  m)
friend
template<typename T>
number_t min ( const Matrix3_< T > &  m)
friend

Member Data Documentation

template<typename T>
number_t allofw::Matrix3_< T >::a11
template<typename T>
number_t allofw::Matrix3_< T >::a12
template<typename T>
number_t allofw::Matrix3_< T >::a13
template<typename T>
number_t allofw::Matrix3_< T >::a21
template<typename T>
number_t allofw::Matrix3_< T >::a22
template<typename T>
number_t allofw::Matrix3_< T >::a23
template<typename T>
number_t allofw::Matrix3_< T >::a31
template<typename T>
number_t allofw::Matrix3_< T >::a32
template<typename T>
number_t allofw::Matrix3_< T >::a33
template<typename T>
const size_t allofw::Matrix3_< T >::size = 9
static

The documentation for this struct was generated from the following file: