|
MOAB
4.9.3pre
|
Template functor to compute the quotient of two scalars. More...
#include <BinaryFunctors.h>
Public Types | |
| enum | { Vectorizable = is_same<LhsScalar,RhsScalar>::value && packet_traits<LhsScalar>::HasDiv && packet_traits<RhsScalar>::HasDiv } |
| typedef scalar_product_traits < LhsScalar, RhsScalar > ::ReturnType | result_type |
Public Member Functions | |
| EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const result_type | operator() (const LhsScalar &a, const RhsScalar &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 quotient of two scalars.
Definition at line 286 of file BinaryFunctors.h.
| typedef scalar_product_traits<LhsScalar,RhsScalar>::ReturnType Eigen::internal::scalar_quotient_op< LhsScalar, RhsScalar >::result_type |
Definition at line 291 of file BinaryFunctors.h.
| anonymous enum |
Definition at line 287 of file BinaryFunctors.h.
{
// TODO vectorize mixed product
Vectorizable = is_same<LhsScalar,RhsScalar>::value && packet_traits<LhsScalar>::HasDiv && packet_traits<RhsScalar>::HasDiv
};
| EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const result_type Eigen::internal::scalar_quotient_op< LhsScalar, RhsScalar >::operator() | ( | const LhsScalar & | a, |
| const RhsScalar & | b | ||
| ) | const [inline] |
Definition at line 293 of file BinaryFunctors.h.
{ return a / b; }
| EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Packet Eigen::internal::scalar_quotient_op< LhsScalar, RhsScalar >::packetOp | ( | const Packet & | a, |
| const Packet & | b | ||
| ) | const [inline] |
Definition at line 295 of file BinaryFunctors.h.
{ return internal::pdiv(a,b); }