Classes | |
class | VectorEngine< D, T, BinaryVectorOp< V1, V2, Op > > |
struct | VectorEngineElem< D, T, BinaryVectorOp< V1, V2, Op >, I > |
Specialization of VectorElem for BinaryVectorOp. More... |
This is used as part of evaluating expressions.
This specialization of VectorEngine implements an optimization for expression evaluation. Binary operations are done by constructing a Vector with a BinaryVectorOp 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.