TinyMatrixEngine< D1, D2, T, BinaryTinyMatrixOp< V1, V2, Op > > Class Template Reference

Specialization of TinyMatrixEngine for BinaryTinyMatrixOp. More...

#include <BinaryTinyMatrixOp.h>

List of all members.

Public Types

enum  { dimensions = 2 }
typedef T Element_t
typedef BinaryTinyMatrixOp< V1,
V2, Op > 
EngineTag_t
typedef T ConstElementRef_t
typedef T ElementRef_t
typedef TinyMatrixEngine< D1,
D2, T, BinaryTinyMatrixOp< V1,
V2, Op > > 
This_t

Public Member Functions

 TinyMatrixEngine (const V1 &v1, const V2 &v2)
Element_t operator() (int i, int j) const

Friends

struct TinyMatrixEngineElem


Detailed Description

template<int D1, int D2, class T, class V1, class V2, class Op>
class TinyMatrixEngine< D1, D2, T, BinaryTinyMatrixOp< V1, V2, Op > >

Specialization of TinyMatrixEngine for BinaryTinyMatrixOp.

This has the same interface as any other TinyMatrixEngine of course, but the implementation has a const ref to a V1 and a V2. Getting an element applies the operator to V1 and V2, returning the result.

Since it stores references to V1 and V2, don't try to keep one of these things around! This should only be used as part of expression evaluation.


Member Typedef Documentation

template<int D1, int D2, class T , class V1 , class V2 , class Op >
typedef T TinyMatrixEngine< D1, D2, T, BinaryTinyMatrixOp< V1, V2, Op > >::Element_t

template<int D1, int D2, class T , class V1 , class V2 , class Op >
typedef BinaryTinyMatrixOp<V1,V2,Op> TinyMatrixEngine< D1, D2, T, BinaryTinyMatrixOp< V1, V2, Op > >::EngineTag_t

template<int D1, int D2, class T , class V1 , class V2 , class Op >
typedef T TinyMatrixEngine< D1, D2, T, BinaryTinyMatrixOp< V1, V2, Op > >::ConstElementRef_t

template<int D1, int D2, class T , class V1 , class V2 , class Op >
typedef T TinyMatrixEngine< D1, D2, T, BinaryTinyMatrixOp< V1, V2, Op > >::ElementRef_t

template<int D1, int D2, class T , class V1 , class V2 , class Op >
typedef TinyMatrixEngine<D1,D2,T, BinaryTinyMatrixOp<V1,V2,Op> > TinyMatrixEngine< D1, D2, T, BinaryTinyMatrixOp< V1, V2, Op > >::This_t


Member Enumeration Documentation

template<int D1, int D2, class T , class V1 , class V2 , class Op >
anonymous enum

Enumerator:
dimensions 


Constructor & Destructor Documentation

template<int D1, int D2, class T , class V1 , class V2 , class Op >
TinyMatrixEngine< D1, D2, T, BinaryTinyMatrixOp< V1, V2, Op > >::TinyMatrixEngine ( const V1 &  v1,
const V2 &  v2 
) [inline]


Member Function Documentation

template<int D1, int D2, class T , class V1 , class V2 , class Op >
Element_t TinyMatrixEngine< D1, D2, T, BinaryTinyMatrixOp< V1, V2, Op > >::operator() ( int  i,
int  j 
) const [inline]


Friends And Related Function Documentation

template<int D1, int D2, class T , class V1 , class V2 , class Op >
friend struct TinyMatrixEngineElem [friend]


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

Generated on Wed Mar 16 06:20:39 2011 for FreePOOMA by  doxygen 1.5.9