MOAB
4.9.3pre
|
Template functor to subtract a scalar to fixed another one. More...
#include <BinaryFunctors.h>
Public Member Functions | |
EIGEN_DEVICE_FUNC | scalar_rsub_op (const scalar_rsub_op &other) |
EIGEN_DEVICE_FUNC | scalar_rsub_op (const Scalar &other) |
EIGEN_DEVICE_FUNC Scalar | operator() (const Scalar &a) const |
template<typename Packet > | |
EIGEN_DEVICE_FUNC const Packet | packetOp (const Packet &a) const |
Public Attributes | |
const Scalar | m_other |
Template functor to subtract a scalar to fixed another one.
Definition at line 475 of file BinaryFunctors.h.
EIGEN_DEVICE_FUNC Eigen::internal::scalar_rsub_op< Scalar >::scalar_rsub_op | ( | const scalar_rsub_op< Scalar > & | other | ) | [inline] |
Definition at line 476 of file BinaryFunctors.h.
: m_other(other.m_other) { }
EIGEN_DEVICE_FUNC Eigen::internal::scalar_rsub_op< Scalar >::scalar_rsub_op | ( | const Scalar & | other | ) | [inline] |
Definition at line 477 of file BinaryFunctors.h.
: m_other(other) { }
EIGEN_DEVICE_FUNC Scalar Eigen::internal::scalar_rsub_op< Scalar >::operator() | ( | const Scalar & | a | ) | const [inline] |
Definition at line 478 of file BinaryFunctors.h.
{ return m_other - a; }
EIGEN_DEVICE_FUNC const Packet Eigen::internal::scalar_rsub_op< Scalar >::packetOp | ( | const Packet & | a | ) | const [inline] |
Definition at line 480 of file BinaryFunctors.h.
{ return internal::psub(pset1<Packet>(m_other), a); }
const Scalar Eigen::internal::scalar_rsub_op< Scalar >::m_other |
Definition at line 482 of file BinaryFunctors.h.