$extrastylesheet
#include <mln/algebra/mat.hh>
Public Member Functions | |
| mat () | |
| mat (const literal::zero_t &) | |
| mat (const literal::one_t &) | |
| mat (const literal::identity_t &) | |
| template<typename U > | |
| mat (const mat< n, m, U > &rhs) | |
| template<typename F > | |
| mat (const Function_v2v< F > &f) | |
| mat< n, m, T > | _1 () const |
| const T & | operator() (unsigned i, unsigned j) const |
| T & | operator() (unsigned i, unsigned j) |
| template<typename U > | |
| mat & | operator= (const mat< n, m, U > &rhs) |
| void | set_all (const T &val) |
| unsigned | size () const |
| mat< m, n, T > | t () const |
Static Public Member Functions | |
| static mat | identity () |
Static Public Attributes | |
| static const mat< n, m, T > | Id |
Public Types | |
| enum | { N = n, M = m, dim = n * m } |
| typedef Object< void > | category |
| typedef T | coord |
| typedef mat< n, m, T > | exact_t |
NxM-dimensional matrix.
Definition at line 88 of file algebra/mat.hh.
| mln::algebra::mat< n, m, T >::mat | ( | ) |
| mln::algebra::mat< n, m, T >::mat | ( | const literal::zero_t & | ) |
| mln::algebra::mat< n, m, T >::mat | ( | const literal::one_t & | ) |
| mln::algebra::mat< n, m, T >::mat | ( | const literal::identity_t & | ) |
| mln::algebra::mat< n, m, T >::mat | ( | const mat< n, m, U > & | rhs | ) |
| mln::algebra::mat< n, m, T >::mat | ( | const Function_v2v< F > & | f | ) |
Constructor; coordinates are set by function f.
| mat<n,m,T> mln::algebra::mat< n, m, T >::_1 | ( | ) | const |
Return the inverse of the matrix.
Only compile on square matrix.
|
static |
| const T& mln::algebra::mat< n, m, T >::operator() | ( | unsigned | i, |
| unsigned | j | ||
| ) | const |
| T& mln::algebra::mat< n, m, T >::operator() | ( | unsigned | i, |
| unsigned | j | ||
| ) |
| mat& mln::algebra::mat< n, m, T >::operator= | ( | const mat< n, m, U > & | rhs | ) |
| void mln::algebra::mat< n, m, T >::set_all | ( | const T & | val | ) |
| unsigned mln::algebra::mat< n, m, T >::size | ( | ) | const |
| mat<m,n,T> mln::algebra::mat< n, m, T >::t | ( | ) | const |
Return the transpose of the matrix.
|
static |
Definition at line 97 of file algebra/mat.hh.
|
inherited |
| typedef T mln::algebra::mat< n, m, T >::coord |
Definition at line 92 of file algebra/mat.hh.
| anonymous enum |
Definition at line 93 of file algebra/mat.hh.