Darc Library
2012.11
|
#include <cr_matrix.h>
Public Types | |
typedef Traits< D >::Type | Type |
Public Member Functions | |
BaseMatrix () | |
Static Public Member Functions | |
static const BaseMatrix | Random () |
static const BaseMatrix | Zero () |
Protected Member Functions | |
Type | operator() (int _m, int _n) const |
Type & | operator() (int _m, int _n) |
Protected Attributes | |
Storage< Type, Traits< D > ::Rows, Traits< D >::Cols > | m_storage |
Friends | |
class | Matrix |
template<typename T , UInt M, UInt N, UInt O> | |
const BaseMatrix< Matrix< T, M, O > > | operator* (const BaseMatrix< Matrix< T, M, N > > &_m0, const BaseMatrix< Matrix< T, N, O > > &_m1) |
Operator "Multiplication" (default). | |
template<typename T , int M, int N> | |
const BaseMatrix< Matrix< T, M, N > > | operator* (const T &_s, const BaseMatrix< Matrix< T, M, N > > &_m) |
Operator "Scalar multiplication (left)". | |
template<typename T , int M, int N> | |
const BaseMatrix< Matrix< T, M, N > > | operator* (const BaseMatrix< Matrix< T, M, N > > &_m, const T &_s) |
Operator "Scalar multiplication (right)". | |
template<typename T , int M, int N> | |
const BaseMatrix< Matrix< T, M, N > > & | operator*= (BaseMatrix< Matrix< T, M, N > > &_v, const T &_s) |
Operator "Scalar multiplication (compound)". | |
template<typename T , int M, int N> | |
const BaseMatrix< Matrix< T, M, N > > | operator+ (const BaseMatrix< Matrix< T, M, N > > &_m0, const BaseMatrix< Matrix< T, M, N > > &_m1) |
Operator "Vector addition". | |
template<typename T , int M, int N> | |
const bool | operator< (const BaseMatrix< Matrix< T, M, N > > &_m0, const BaseMatrix< Matrix< T, M, N > > &_m1) |
Operator "Less". | |
template<typename D > | |
std::ostream & | operator<< (std::ostream &_o, const BaseMatrix< D > &_m) |
Operator "Stream out". |
typedef Traits<D>::Type darc::core::BaseMatrix< D >::Type |
darc::core::BaseMatrix< D >::BaseMatrix | ( | ) | [inline] |
Type darc::core::BaseMatrix< D >::operator() | ( | int | _m, |
int | _n | ||
) | const [inline, protected] |
Type& darc::core::BaseMatrix< D >::operator() | ( | int | _m, |
int | _n | ||
) | [inline, protected] |
const BaseMatrix< D > darc::core::BaseMatrix< D >::Random | ( | ) | [static] |
const BaseMatrix< D > darc::core::BaseMatrix< D >::Zero | ( | ) | [static] |
friend class Matrix [friend] |
const BaseMatrix<Matrix<T,M,O> > operator* | ( | const BaseMatrix< Matrix< T, M, N > > & | _m0, |
const BaseMatrix< Matrix< T, N, O > > & | _m1 | ||
) | [friend] |
Operator "Multiplication" (default).
const BaseMatrix<Matrix<T,M,N> > operator* | ( | const T & | _s, |
const BaseMatrix< Matrix< T, M, N > > & | _m | ||
) | [friend] |
Operator "Scalar multiplication (left)".
const BaseMatrix<Matrix<T,M,N> > operator* | ( | const BaseMatrix< Matrix< T, M, N > > & | _m, |
const T & | _s | ||
) | [friend] |
Operator "Scalar multiplication (right)".
const BaseMatrix<Matrix<T,M,N> >& operator*= | ( | BaseMatrix< Matrix< T, M, N > > & | _v, |
const T & | _s | ||
) | [friend] |
Operator "Scalar multiplication (compound)".
const BaseMatrix<Matrix<T,M,N> > operator+ | ( | const BaseMatrix< Matrix< T, M, N > > & | _m0, |
const BaseMatrix< Matrix< T, M, N > > & | _m1 | ||
) | [friend] |
Operator "Vector addition".
const bool operator< | ( | const BaseMatrix< Matrix< T, M, N > > & | _m0, |
const BaseMatrix< Matrix< T, M, N > > & | _m1 | ||
) | [friend] |
Operator "Less".
This operator is needed for a defined order between matrix objects, e.g., in sorted sets or maps.
std::ostream& operator<< | ( | std::ostream & | _o, |
const BaseMatrix< D > & | _m | ||
) | [friend] |
Operator "Stream out".
Storage<Type, Traits<D>::Rows, Traits<D>::Cols> darc::core::BaseMatrix< D >::m_storage [protected] |