MOAB
4.9.3pre
|
Template functor to compute the max 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 max of two scalars.
Definition at line 139 of file BinaryFunctors.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar Eigen::internal::scalar_max_op< Scalar >::operator() | ( | const Scalar & | a, |
const Scalar & | b | ||
) | const [inline] |
Definition at line 141 of file BinaryFunctors.h.
{ return numext::maxi(a, b); }
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Packet Eigen::internal::scalar_max_op< Scalar >::packetOp | ( | const Packet & | a, |
const Packet & | b | ||
) | const [inline] |
Definition at line 143 of file BinaryFunctors.h.
{ return internal::pmax(a,b); }
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar Eigen::internal::scalar_max_op< Scalar >::predux | ( | const Packet & | a | ) | const [inline] |
Definition at line 146 of file BinaryFunctors.h.
{ return internal::predux_max(a); }