fwd declaration as this is a specialized T parameter More...
|the left operand on the right hand side |
|the right operand on the right hand side |
|the result on the left hand side |
|BinaryMatOp (const LeftT &left, const RightT &right)|
|Construct an object from a rhs. More...|
|void||eval (ResultT *const result) const|
|obtain a pointer to the lhs and call the operator::launch method More...|
fwd declaration as this is a specialized T parameter
Wraps RHS of a binary operator
|OpT||The operation that this object represents|
This object is built from the RHS information and uses the template parameter to do the assignment(s). The purpose is to overload result.operator =(RHS) for an intuitive interface, e.g. x = mat.solve(rhs), while allowing generic operations defined by the template parameter. It has a lifespan of one line, it is destroyed once the operator completes its work.
Construct an object from a rhs.
|OpT||the operation that will be performed|
|left||Left operand, the type is defined by the OpT parameter|
|right||Right operand, the type is defined by the OpT parameter|
Here we grab pointers to the rhs elements for use by the operator.
References SpatialOps::BinaryMatOp< OpT >::eval().
obtain a pointer to the lhs and call the operator::launch method
This is the interface for the lhs of the assignment operation. The pointers to the lhs and rhs operands are given to the operator using the OpT::launch method
Referenced by SpatialOps::BinaryMatOp< OpT >::BinaryMatOp(), SpatialOps::BinaryMatScalarOp< OpT >::BinaryMatScalarOp(), SpatialOps::BinaryRetMatUnaryOp< OpT >::BinaryRetMatUnaryOp(), SpatialOps::MatUnaryOp< OpT >::MatUnaryOp(), and SpatialOps::MatVecOp< DotProduct< FieldT > >::MatVecOp().