aimstil  5.0.5
til::Matrix3< T > Class Template Reference

A mathematical matrix. More...

#include <til/Matrix3.h>

Inheritance diagram for til::Matrix3< T >:

Public Types

typedef Matrix3< T > Self
 
typedef T value_type
 
typedef boost::array< T, 3 > row_type
 
typedef boost::array< T, 3 *3 > Data
 
typedef Data::iterator iterator
 
typedef Data::const_iterator const_iterator
 

Public Member Functions

 Matrix3 ()
 Empty matrix of zeros. More...
 
 Matrix3 (NoInit)
 No initialization. More...
 
 Matrix3 (T xx, T xy, T xz, T yx, T yy, T yz, T zx, T zy, T zz)
 Initialize with elements. More...
 
 ~Matrix3 ()
 
boost::array< std::size_t, 2 > dims () const
 
const T & operator() (std::size_t i, std::size_t j) const
 
T & operator() (std::size_t i, std::size_t j)
 
void reset ()
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
void operator+= (Self const &mat)
 
void operator-= (Self const &mat)
 

Detailed Description

template<typename T>
class til::Matrix3< T >

A mathematical matrix.

Definition at line 90 of file Matrix3.h.

Member Typedef Documentation

◆ const_iterator

template<typename T>
typedef Data::const_iterator til::Matrix3< T >::const_iterator

Definition at line 99 of file Matrix3.h.

◆ Data

template<typename T>
typedef boost::array<T,3*3> til::Matrix3< T >::Data

Definition at line 97 of file Matrix3.h.

◆ iterator

template<typename T>
typedef Data::iterator til::Matrix3< T >::iterator

Definition at line 98 of file Matrix3.h.

◆ row_type

template<typename T>
typedef boost::array<T,3> til::Matrix3< T >::row_type

Definition at line 95 of file Matrix3.h.

◆ Self

template<typename T>
typedef Matrix3<T> til::Matrix3< T >::Self

Definition at line 93 of file Matrix3.h.

◆ value_type

template<typename T>
typedef T til::Matrix3< T >::value_type

Definition at line 94 of file Matrix3.h.

Constructor & Destructor Documentation

◆ Matrix3() [1/3]

template<typename T>
til::Matrix3< T >::Matrix3 ( )
inline

Empty matrix of zeros.

Definition at line 104 of file Matrix3.h.

◆ Matrix3() [2/3]

template<typename T>
til::Matrix3< T >::Matrix3 ( NoInit  )
inline

No initialization.

Definition at line 107 of file Matrix3.h.

◆ Matrix3() [3/3]

template<typename T>
til::Matrix3< T >::Matrix3 ( xx,
xy,
xz,
yx,
yy,
yz,
zx,
zy,
zz 
)
inline

Initialize with elements.

Definition at line 110 of file Matrix3.h.

◆ ~Matrix3()

template<typename T>
til::Matrix3< T >::~Matrix3 ( )
inline

Definition at line 126 of file Matrix3.h.

Member Function Documentation

◆ begin() [1/2]

template<typename T>
iterator til::Matrix3< T >::begin ( )
inline

Definition at line 153 of file Matrix3.h.

◆ begin() [2/2]

template<typename T>
const_iterator til::Matrix3< T >::begin ( ) const
inline

Definition at line 155 of file Matrix3.h.

◆ dims()

template<typename T>
boost::array<std::size_t,2> til::Matrix3< T >::dims ( ) const
inline

Definition at line 130 of file Matrix3.h.

◆ end() [1/2]

template<typename T>
iterator til::Matrix3< T >::end ( )
inline

Definition at line 154 of file Matrix3.h.

◆ end() [2/2]

template<typename T>
const_iterator til::Matrix3< T >::end ( ) const
inline

Definition at line 156 of file Matrix3.h.

◆ operator()() [1/2]

template<typename T>
const T& til::Matrix3< T >::operator() ( std::size_t  i,
std::size_t  j 
) const
inline

◆ operator()() [2/2]

template<typename T>
T& til::Matrix3< T >::operator() ( std::size_t  i,
std::size_t  j 
)
inline

Definition at line 143 of file Matrix3.h.

◆ operator+=()

template<typename T>
void til::Matrix3< T >::operator+= ( Self const &  mat)
inline

Definition at line 160 of file Matrix3.h.

◆ operator-=()

template<typename T>
void til::Matrix3< T >::operator-= ( Self const &  mat)
inline

Definition at line 169 of file Matrix3.h.

◆ reset()

template<typename T>
void til::Matrix3< T >::reset ( )
inline

Definition at line 151 of file Matrix3.h.

Referenced by til::SymMatrix3< double >::SymMatrix3().


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