SHOGUN
4.2.0
|
Template struct sin for computing element-wise sin for matrices and vectors. The operator() is for NATIVE backend implementation. Methods compute_using_eigen3 are for computing element-wise sin using EIGEN3 backend.
Public Types | |
using | return_type = float64_t |
using | MatrixXt = Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > |
using | VectorXt = Eigen::Matrix< T, Eigen::Dynamic, 1 > |
using | MapMatrixXt = Eigen::Map< MatrixXt > |
using | MapVectorXt = Eigen::Map< VectorXt > |
Public Member Functions | |
sin () | |
return_type | operator() (T &val) const |
Eigen::MatrixXd | compute_using_eigen3 (MapMatrixXt m) const |
Eigen::VectorXd | compute_using_eigen3 (MapVectorXt v) const |
std::string | get_operation () const |
using MapMatrixXt = Eigen::Map<MatrixXt> |
using MapVectorXt = Eigen::Map<VectorXt> |
using MatrixXt = Eigen::Matrix<T,Eigen::Dynamic,Eigen::Dynamic> |
using return_type = float64_t |
using VectorXt = Eigen::Matrix<T,Eigen::Dynamic,1> |
Eigen::MatrixXd compute_using_eigen3 | ( | MapMatrixXt | m | ) | const |
Eigen::VectorXd compute_using_eigen3 | ( | MapVectorXt | v | ) | const |
|
inherited |
Definition at line 64 of file opencl_operation.h.
return_type operator() | ( | T & | val | ) | const |