FreePOOMA
2.4.1
|
Specialization of TinyMatrixEngine for BinaryTinyMatrixOp. More...
#include <BinaryTinyMatrixOp.h>
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 |
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.
typedef T TinyMatrixEngine< D1, D2, T, BinaryTinyMatrixOp< V1, V2, Op > >::Element_t |
typedef BinaryTinyMatrixOp<V1,V2,Op> TinyMatrixEngine< D1, D2, T, BinaryTinyMatrixOp< V1, V2, Op > >::EngineTag_t |
typedef T TinyMatrixEngine< D1, D2, T, BinaryTinyMatrixOp< V1, V2, Op > >::ConstElementRef_t |
typedef T TinyMatrixEngine< D1, D2, T, BinaryTinyMatrixOp< V1, V2, Op > >::ElementRef_t |
typedef TinyMatrixEngine<D1,D2,T, BinaryTinyMatrixOp<V1,V2,Op> > TinyMatrixEngine< D1, D2, T, BinaryTinyMatrixOp< V1, V2, Op > >::This_t |
anonymous enum |
TinyMatrixEngine< D1, D2, T, BinaryTinyMatrixOp< V1, V2, Op > >::TinyMatrixEngine | ( | const V1 & | v1, |
const V2 & | v2 | ||
) | [inline] |
Element_t TinyMatrixEngine< D1, D2, T, BinaryTinyMatrixOp< V1, V2, Op > >::operator() | ( | int | i, |
int | j | ||
) | const [inline] |
friend struct TinyMatrixEngineElem [friend] |