Wraps RHS of a unary matrix operation. More...
|type of the rhs |
|type of the lhs |
|MatUnaryOp (const RhsT &mat)|
|Construct an object from a rhs consisting of a single matrix. More...|
|void||eval (ResultT *const result) const|
|obtain a pointer to the lhs and call the operator::launch method More...|
Wraps RHS of a unary matrix operation.
|OpT||The operation that this object represents|
The behavior of this class mirrors that of MatVecOp, refer there for a more complete description. This object grabs pointers to the lhs and rhs and sends them to the operator where the actual calculation gets performed. This object accepts a single object on the rhs.
Construct an object from a rhs consisting of a single matrix.
|OpT||the operation that will be performed|
|mat||The operand to the unary operation defined by OpT|
Here we grab the pointer to the rhs element 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 operand are given to the operator using the OpT::launch method