Darc Library  2012.11
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
darc::core::BaseMatrix< D > Class Template Reference

#include <cr_matrix.h>

Inheritance diagram for darc::core::BaseMatrix< D >:
darc::core::Vector< Real, 3 > darc::core::Vector3D_T< Real >

List of all members.

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
Typeoperator() (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".

template<typename D>
class darc::core::BaseMatrix< D >


Member Typedef Documentation

template<typename D>
typedef Traits<D>::Type darc::core::BaseMatrix< D >::Type

Constructor & Destructor Documentation

template<typename D>
darc::core::BaseMatrix< D >::BaseMatrix ( ) [inline]

Member Function Documentation

template<typename D>
Type darc::core::BaseMatrix< D >::operator() ( int  _m,
int  _n 
) const [inline, protected]
template<typename D>
Type& darc::core::BaseMatrix< D >::operator() ( int  _m,
int  _n 
) [inline, protected]
template<typename D >
const BaseMatrix< D > darc::core::BaseMatrix< D >::Random ( ) [static]
template<typename D >
const BaseMatrix< D > darc::core::BaseMatrix< D >::Zero ( ) [static]

Friends And Related Function Documentation

template<typename D>
friend class Matrix [friend]
template<typename D>
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 
) [friend]

Operator "Multiplication" (default).

template<typename D>
template<typename T , int M, int N>
const BaseMatrix<Matrix<T,M,N> > operator* ( const T &  _s,
const BaseMatrix< Matrix< T, M, N > > &  _m 
) [friend]

Operator "Scalar multiplication (left)".

template<typename D>
template<typename T , int M, int N>
const BaseMatrix<Matrix<T,M,N> > operator* ( const BaseMatrix< Matrix< T, M, N > > &  _m,
const T &  _s 
) [friend]

Operator "Scalar multiplication (right)".

template<typename D>
template<typename T , int M, int N>
const BaseMatrix<Matrix<T,M,N> >& operator*= ( BaseMatrix< Matrix< T, M, N > > &  _v,
const T &  _s 
) [friend]

Operator "Scalar multiplication (compound)".

template<typename D>
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 
) [friend]

Operator "Vector addition".

template<typename D>
template<typename T , int M, int N>
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.

template<typename D>
template<typename D >
std::ostream& operator<< ( std::ostream &  _o,
const BaseMatrix< D > &  _m 
) [friend]

Operator "Stream out".


Member Data Documentation

template<typename D>
Storage<Type, Traits<D>::Rows, Traits<D>::Cols> darc::core::BaseMatrix< D >::m_storage [protected]

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