MOAB
4.9.3pre
|
Template functor to compute the quotient between a scalar and array entries. More...
#include <BinaryFunctors.h>
Public Member Functions | |
EIGEN_DEVICE_FUNC | scalar_inverse_mult_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 | |
Scalar | m_other |
Template functor to compute the quotient between a scalar and array entries.
Definition at line 510 of file BinaryFunctors.h.
EIGEN_DEVICE_FUNC Eigen::internal::scalar_inverse_mult_op< Scalar >::scalar_inverse_mult_op | ( | const Scalar & | other | ) | [inline] |
Definition at line 511 of file BinaryFunctors.h.
: m_other(other) {}
EIGEN_DEVICE_FUNC Scalar Eigen::internal::scalar_inverse_mult_op< Scalar >::operator() | ( | const Scalar & | a | ) | const [inline] |
Definition at line 512 of file BinaryFunctors.h.
{ return m_other / a; }
EIGEN_DEVICE_FUNC const Packet Eigen::internal::scalar_inverse_mult_op< Scalar >::packetOp | ( | const Packet & | a | ) | const [inline] |
Definition at line 514 of file BinaryFunctors.h.
{ return internal::pdiv(pset1<Packet>(m_other),a); }
Scalar Eigen::internal::scalar_inverse_mult_op< Scalar >::m_other |
Definition at line 516 of file BinaryFunctors.h.