BinaryTinyMatrixOp.h File Reference

An engine class for representing the sum, product, etc. More...

This graph shows which files directly or indirectly include this file:


Classes

class  TinyMatrixEngine< D1, D2, T, BinaryTinyMatrixOp< V1, V2, Op > >
 Specialization of TinyMatrixEngine for BinaryTinyMatrixOp. More...
struct  TinyMatrixEngineElem< D1, D2, T, BinaryTinyMatrixOp< V1, V2, Op >, I, J >
 Specialization of TinyMatrixElem for BinaryTinyMatrixOp. More...

Detailed Description

An engine class for representing the sum, product, etc.

between two TinyMatrixs. This is used as part of evaluating expressions.

This specialization of TinyMatrixEngine implements an optimization for expression evaluation. Binary operations are done by constructing TinyMatrix with a BinaryTinyMatrixOp engine tag, then the result of the operation is constructed by "copying out of" that one. Copying each element out of one of these causes the binary expression to be evaluated for that point.

This strategy reduces the number of copies that get made duing expression evaluations.


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