Static (small and dense) matrix class. More...
#include "utl/SMatrix.h"
Public Types | |
typedef T | Type |
Public Member Functions | |
template<typename Matrix > | |
void | Assign (const Matrix &a) |
template<unsigned int i, unsigned int j> | |
T & | Get () |
template<unsigned int i, unsigned int j> | |
const T & | Get () const |
template<unsigned int nn, unsigned int mm, typename U > | |
bool | operator!= (const SMatrix< nn, mm, U > &a) const |
template<typename U > | |
SMatrix & | operator*= (const U &fact) |
template<typename U > | |
SMatrix & | operator+= (const SMatrix< n, m, U > &mat) |
template<typename U > | |
SMatrix & | operator-= (const SMatrix< n, m, U > &mat) |
template<typename U > | |
SMatrix & | operator/= (const U &div) |
ListMatrixAssignmentProxy < SMatrix, m > | operator= (const T &e) |
template<typename Matrix > | |
SMatrix & | operator= (const Matrix &a) |
template<unsigned int nn, unsigned int mm, typename U > | |
bool | operator== (const SMatrix< nn, mm, U > &a) const |
T * | operator[] (const unsigned int i) |
const T * | operator[] (const unsigned int i) const |
SMatrix () | |
SMatrix (const T &init) | |
template<class Matrix > | |
SMatrix (const Matrix &a) | |
Static Public Member Functions | |
static unsigned int | GetNColumns () |
static unsigned int | GetNRows () |
static unsigned int | GetSize () |
Public Attributes | |
* | a = init |
void | |
Static Public Attributes | |
static const unsigned int | NColumns = m |
static const unsigned int | NRows = n |
static const unsigned int | Size = n * m |
Private Attributes | |
T | fMatrix [n][m] |
Static (small and dense) matrix class.
Power of unrolled loops.
typedef T utl::SMatrix< n, m, T >::Type |
|
inline |
|
inlineexplicit |
|
inlineexplicit |
Definition at line 42 of file SMatrix.h.
References utl::SMatrix< n, m, T >::Assign().
|
inline |
Definition at line 46 of file SMatrix.h.
References utl::SMatrix< n, m, T >::fMatrix, and utl::m.
Referenced by utl::SMatrix< n, m, T >::operator=(), and utl::SMatrix< n, m, T >::SMatrix().
|
inline |
Definition at line 77 of file SMatrix.h.
References utl::SMatrix< n, m, T >::fMatrix.
Referenced by TestSMatrixSVector::TestSMatrixCtor().
|
inline |
Definition at line 80 of file SMatrix.h.
References utl::SMatrix< n, m, T >::fMatrix.
|
inlinestatic |
Definition at line 33 of file SMatrix.h.
References utl::m.
Referenced by TestSMatrixSVector::TestSMatrixCtor(), TestSMatrixSVector::TestSMatrixListAssignment(), and TestSMatrixSVector::TestSMatrixOp().
|
inlinestatic |
Definition at line 31 of file SMatrix.h.
Referenced by TestSMatrixSVector::TestSMatrixCtor(), TestSMatrixSVector::TestSMatrixListAssignment(), and TestSMatrixSVector::TestSMatrixOp().
|
inlinestatic |
Definition at line 35 of file SMatrix.h.
References utl::SMatrix< n, m, T >::Size.
|
inline |
Definition at line 143 of file SMatrix.h.
References utl::SMatrix< n, m, T >::operator==().
|
inline |
Definition at line 84 of file SMatrix.h.
References utl::SMatrix< n, m, T >::fMatrix, and utl::SMatrix< n, m, T >::Size.
|
inline |
Definition at line 106 of file SMatrix.h.
References RdGeoCeLDFFitter::b, utl::SMatrix< n, m, T >::fMatrix, and utl::SMatrix< n, m, T >::Size.
|
inline |
Definition at line 118 of file SMatrix.h.
References RdGeoCeLDFFitter::b, utl::SMatrix< n, m, T >::fMatrix, and utl::SMatrix< n, m, T >::Size.
|
inline |
Definition at line 95 of file SMatrix.h.
References utl::SMatrix< n, m, T >::fMatrix, and utl::SMatrix< n, m, T >::Size.
|
inline |
Definition at line 54 of file SMatrix.h.
References utl::SMatrix< n, m, T >::fMatrix.
|
inline |
Definition at line 61 of file SMatrix.h.
References utl::SMatrix< n, m, T >::Assign().
|
inline |
Definition at line 130 of file SMatrix.h.
References utl::SMatrix< n, m, T >::fMatrix, utl::m, and utl::mm.
Referenced by utl::SMatrix< n, m, T >::operator!=().
|
inline |
Definition at line 72 of file SMatrix.h.
References utl::SMatrix< n, m, T >::fMatrix.
|
inline |
Definition at line 74 of file SMatrix.h.
References utl::SMatrix< n, m, T >::fMatrix.
* utl::SMatrix< n, m, T >::a = init |
|
private |
Definition at line 147 of file SMatrix.h.
Referenced by utl::SMatrix< n, m, T >::Assign(), utl::SMatrix< n, m, T >::Get(), utl::SMatrix< n, m, T >::operator*=(), utl::SMatrix< n, m, T >::operator+=(), utl::SMatrix< n, m, T >::operator-=(), utl::SMatrix< n, m, T >::operator/=(), utl::SMatrix< n, m, T >::operator=(), utl::SMatrix< n, m, T >::operator==(), and utl::SMatrix< n, m, T >::operator[]().
|
static |
|
static |
|
static |
Definition at line 29 of file SMatrix.h.
Referenced by utl::SMatrix< n, m, T >::GetSize(), utl::SMatrix< n, m, T >::operator*=(), utl::SMatrix< n, m, T >::operator+=(), utl::SMatrix< n, m, T >::operator-=(), and utl::SMatrix< n, m, T >::operator/=().
utl::SMatrix< n, m, T >::void |