![]() |
|
Template functor to compute the sum of two scalars. More...
#include <BinaryFunctors.h>
Inheritance diagram for Eigen::internal::scalar_sum_op< LhsScalar, RhsScalar >:Public Types | |
| typedef ScalarBinaryOpTraits< LhsScalar, RhsScalar, scalar_sum_op >::ReturnType | result_type |
Public Types inherited from Eigen::internal::binary_op_base< LhsScalar, RhsScalar > | |
| typedef LhsScalar | first_argument_type |
| typedef RhsScalar | second_argument_type |
Public Member Functions | |
| EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE result_type | operator() (const LhsScalar &a, const RhsScalar &b) const |
| template<typename Packet > | |
| EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet | packetOp (const Packet &a, const Packet &b) const |
| template<typename Packet > | |
| EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE result_type | predux (const Packet &a) const |
| EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE bool | operator() (const bool &a, const bool &b) const |
Template functor to compute the sum of two scalars.
| typedef ScalarBinaryOpTraits<LhsScalar, RhsScalar, scalar_sum_op>::ReturnType Eigen::internal::scalar_sum_op< LhsScalar, RhsScalar >::result_type |
| EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE bool Eigen::internal::scalar_sum_op< bool, bool >::operator() | ( | const bool & | a, |
| const bool & | b | ||
| ) | const |
|
inline |
|
inline |
References a, b, and Eigen::internal::padd().
|
inline |
References a, and Eigen::internal::predux().