MOAB
4.9.3pre
|
Template functor to compute the sum 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<typename Packet > | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar | predux (const Packet &a) const |
Template functor to compute the sum of two scalars.
Definition at line 24 of file BinaryFunctors.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar Eigen::internal::scalar_sum_op< Scalar >::operator() | ( | const Scalar & | a, |
const Scalar & | b | ||
) | const [inline] |
Definition at line 27 of file BinaryFunctors.h.
{ return a + b; }
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Packet Eigen::internal::scalar_sum_op< Scalar >::packetOp | ( | const Packet & | a, |
const Packet & | b | ||
) | const [inline] |
Definition at line 29 of file BinaryFunctors.h.
{ return internal::padd(a,b); }
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar Eigen::internal::scalar_sum_op< Scalar >::predux | ( | const Packet & | a | ) | const [inline] |
Definition at line 32 of file BinaryFunctors.h.
{ return internal::predux(a); }