MOAB
4.9.3pre
|
Template functor to compute the difference of two scalars. More...
#include <BinaryFunctors.h>
Public Member Functions | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar | operator() (const Scalar &a, const Scalar &b) const |
template<typename Packet > | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Packet | packetOp (const Packet &a, const Packet &b) const |
Template functor to compute the difference of two scalars.
Definition at line 266 of file BinaryFunctors.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar Eigen::internal::scalar_difference_op< Scalar >::operator() | ( | const Scalar & | a, |
const Scalar & | b | ||
) | const [inline] |
Definition at line 268 of file BinaryFunctors.h.
{ return a - b; }
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Packet Eigen::internal::scalar_difference_op< Scalar >::packetOp | ( | const Packet & | a, |
const Packet & | b | ||
) | const [inline] |
Definition at line 270 of file BinaryFunctors.h.
{ return internal::psub(a,b); }