SpatialOps

Wraps RHS of a unary matrix operation. More...
#include <MatVecOps.h>
Public Types  
typedef OpT::RhsT  RhsT 
type of the rhs  
typedef OpT::ResultT  ResultT 
type of the lhs  
Public Member Functions  
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.
Definition at line 329 of file MatVecOps.h.

inline 
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.
Definition at line 342 of file MatVecOps.h.
References SpatialOps::BinaryMatOp< OpT >::eval().
void SpatialOps::MatUnaryOp< OpT >::eval  (  ResultT *const  result  )  const 
obtain a pointer to the lhs and call the operator::launch method
result  ResultT* const 
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
Definition at line 1150 of file MatVecOps.h.