Basic Image AlgorithmS Library
2.8.0
|
is a 'fixed size' symmetric quadratic matrix of dim. More...
#include <Base/Math/SymmetricMatrix3x3.hh>
Public Member Functions | |
T * | GetData () |
const T * | GetData () const |
void | GetMatrix (Matrix3x3< T > &dst) const |
conversion to full matrix More... | |
Matrix3x3< T > | GetMatrix () const |
T & | operator() (const unsigned row, const unsigned col) |
element access More... | |
const T & | operator() (const unsigned row, const unsigned col) const |
SymmetricMatrix3x3< T > & | operator= (const SymmetricMatrix3x3< T > &src) |
int | Read (std::istream &is) |
SymmetricMatrix3x3 () | |
SymmetricMatrix3x3 (const SymmetricMatrix3x3< T > &src) | |
SymmetricMatrix3x3 (const Matrix3x3< T > &src) | |
SymmetricMatrix3x3 (const Matrix< T > &src) | |
int | Write (std::ostream &os) const |
binary io More... | |
~SymmetricMatrix3x3 () | |
Protected Member Functions | |
unsigned | SymMatrix3x3ToIndex_ (const unsigned row, const unsigned col) const |
Protected Attributes | |
T | Data_ [6] |
The matrix data is stored as follows | Data_[0] Data_[1] Data_[2] | | Data_[1] Data_[3] Data_[4] | | Data_[2] Data_[4] Data_[5] |. More... | |
Friends | |
BIASMathBase_EXPORT std::ostream & | operator (std::ostream &os, const SymmetricMatrix3x3< T > &mat) |
stream operators are declared as friends More... | |
BIASMathBase_EXPORT std::istream & | operator>> (std::istream &is, SymmetricMatrix3x3< T > &mat) |
is a 'fixed size' symmetric quadratic matrix of dim.
3 x 3 which is templated over the element-type. The class is memory efficient, storing only the necessary 6 independent elements of the symmetric matrix.
Definition at line 52 of file SymmetricMatrix3x3.hh.
|
inline |
Definition at line 55 of file SymmetricMatrix3x3.hh.
BIAS::SymmetricMatrix3x3< T >::SymmetricMatrix3x3 | ( | const SymmetricMatrix3x3< T > & | src | ) |
Definition at line 41 of file SymmetricMatrix3x3.cpp.
BIAS::SymmetricMatrix3x3< T >::SymmetricMatrix3x3 | ( | const Matrix3x3< T > & | src | ) |
Definition at line 49 of file SymmetricMatrix3x3.cpp.
References BIAS::Equal().
BIAS::SymmetricMatrix3x3< T >::SymmetricMatrix3x3 | ( | const Matrix< T > & | src | ) |
Definition at line 68 of file SymmetricMatrix3x3.cpp.
References BIAS::Equal(), TNT::Matrix< T >::num_cols(), and TNT::Matrix< T >::num_rows().
BIAS::SymmetricMatrix3x3< T >::~SymmetricMatrix3x3 | ( | ) |
Definition at line 92 of file SymmetricMatrix3x3.cpp.
|
inline |
Definition at line 85 of file SymmetricMatrix3x3.hh.
|
inline |
Definition at line 86 of file SymmetricMatrix3x3.hh.
void BIAS::SymmetricMatrix3x3< T >::GetMatrix | ( | Matrix3x3< T > & | dst | ) | const |
conversion to full matrix
Definition at line 152 of file SymmetricMatrix3x3.cpp.
Matrix3x3< T > BIAS::SymmetricMatrix3x3< T >::GetMatrix | ( | ) | const |
Definition at line 165 of file SymmetricMatrix3x3.cpp.
T & BIAS::SymmetricMatrix3x3< T >::operator() | ( | const unsigned | row, |
const unsigned | col | ||
) |
element access
Definition at line 136 of file SymmetricMatrix3x3.cpp.
const T & BIAS::SymmetricMatrix3x3< T >::operator() | ( | const unsigned | row, |
const unsigned | col | ||
) | const |
Definition at line 144 of file SymmetricMatrix3x3.cpp.
SymmetricMatrix3x3< T > & BIAS::SymmetricMatrix3x3< T >::operator= | ( | const SymmetricMatrix3x3< T > & | src | ) |
Definition at line 99 of file SymmetricMatrix3x3.cpp.
References BIAS::SymmetricMatrix3x3< T >::Data_.
int BIAS::SymmetricMatrix3x3< T >::Read | ( | std::istream & | is | ) |
Definition at line 185 of file SymmetricMatrix3x3.cpp.
|
protected |
Definition at line 107 of file SymmetricMatrix3x3.cpp.
int BIAS::SymmetricMatrix3x3< T >::Write | ( | std::ostream & | os | ) | const |
binary io
Definition at line 175 of file SymmetricMatrix3x3.cpp.
|
friend |
stream operators are declared as friends
|
friend |
Definition at line 213 of file SymmetricMatrix3x3.cpp.
|
protected |
The matrix data is stored as follows | Data_[0] Data_[1] Data_[2] | | Data_[1] Data_[3] Data_[4] | | Data_[2] Data_[4] Data_[5] |.
Definition at line 95 of file SymmetricMatrix3x3.hh.
Referenced by BIAS::SymmetricMatrix3x3< T >::operator=(), and BIAS::operator>>().