SHOGUN
4.2.0
|
Specialization for elementwise_unary_operation with EIGEN3 backend. The operand types MUST be of CPU types (SGMatrix/SGVector).
Definition at line 112 of file ElementwiseUnaryOperation.h.
Public Types | |
using | T = typename Operand::Scalar |
using | ST = typename UnaryOp::return_type |
Static Public Member Functions | |
static void | compute (Operand operand, ReturnType result, UnaryOp unary_op) |
using ST = typename UnaryOp::return_type |
The scalar type of the result
Definition at line 118 of file ElementwiseUnaryOperation.h.
using T = typename Operand::Scalar |
The scalar type of the operand
Definition at line 115 of file ElementwiseUnaryOperation.h.
|
static |
Method compute that computes element-wise UnaryOp operation for the Operand using EIGEN3 backend.
operand | The operand on which element-wise unary operation has to be performed |
result | The result of applying the unary operator on each scalar of the operand |
Definition at line 135 of file ElementwiseUnaryOperation.h.