Go to the documentation of this file.
10 #ifndef EIGEN_BINARY_FUNCTORS_H
11 #define EIGEN_BINARY_FUNCTORS_H
19 template<
typename Arg1,
typename Arg2>
31 template<
typename LhsScalar,
typename RhsScalar>
35 #ifndef EIGEN_SCALAR_BINARY_OP_PLUGIN
39 EIGEN_SCALAR_BINARY_OP_PLUGIN
43 template<
typename Packet>
46 template<
typename Packet>
50 template<
typename LhsScalar,
typename RhsScalar>
75 template<
typename LhsScalar,
typename RhsScalar>
79 #ifndef EIGEN_SCALAR_BINARY_OP_PLUGIN
83 EIGEN_SCALAR_BINARY_OP_PLUGIN
87 template<
typename Packet>
90 template<
typename Packet>
94 template<
typename LhsScalar,
typename RhsScalar>
108 template<
typename LhsScalar,
typename RhsScalar>
122 template<
typename Packet>
126 template<
typename LhsScalar,
typename RhsScalar>
139 template<
typename LhsScalar,
typename RhsScalar>
145 template<
typename Packet>
148 template<
typename Packet>
152 template<
typename LhsScalar,
typename RhsScalar>
165 template<
typename LhsScalar,
typename RhsScalar>
171 template<
typename Packet>
174 template<
typename Packet>
178 template<
typename LhsScalar,
typename RhsScalar>
190 template<
typename LhsScalar,
typename RhsScalar, ComparisonName cmp>
struct scalar_cmp_op;
192 template<
typename LhsScalar,
typename RhsScalar, ComparisonName cmp>
200 template<ComparisonName Cmp,
typename LhsScalar,
typename RhsScalar>
206 template<
typename LhsScalar,
typename RhsScalar>
213 template<
typename LhsScalar,
typename RhsScalar>
220 template<
typename LhsScalar,
typename RhsScalar>
227 template<
typename LhsScalar,
typename RhsScalar>
234 template<
typename LhsScalar,
typename RhsScalar>
241 template<
typename LhsScalar,
typename RhsScalar>
248 template<
typename LhsScalar,
typename RhsScalar>
262 template<
typename Scalar>
277 template<
typename Scalar>
291 template<
typename Scalar,
typename Exponent>
295 #ifndef EIGEN_SCALAR_BINARY_OP_PLUGIN
300 typedef Exponent RhsScalar;
301 EIGEN_SCALAR_BINARY_OP_PLUGIN
307 template<
typename Scalar,
typename Exponent>
321 template<
typename LhsScalar,
typename RhsScalar>
325 #ifndef EIGEN_SCALAR_BINARY_OP_PLUGIN
329 EIGEN_SCALAR_BINARY_OP_PLUGIN
333 template<
typename Packet>
337 template<
typename LhsScalar,
typename RhsScalar>
350 template<
typename LhsScalar,
typename RhsScalar>
354 #ifndef EIGEN_SCALAR_BINARY_OP_PLUGIN
358 EIGEN_SCALAR_BINARY_OP_PLUGIN
362 template<
typename Packet>
366 template<
typename LhsScalar,
typename RhsScalar>
443 template<
typename Packet>
445 {
return BinaryOp::packetOp(internal::pset1<Packet>(
m_value),
b); }
462 template<
typename Packet>
464 {
return BinaryOp::packetOp(
a,internal::pset1<Packet>(
m_value)); }
475 #endif // EIGEN_BINARY_FUNCTORS_H
#define EIGEN_EMPTY_STRUCT_CTOR(X)
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE Packet packetOp(const Packet &a, const Packet &b) const
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE Packet packetOp(const Packet &a, const Packet &b) const
BinaryOp::first_argument_type first_argument_type
bind2nd_op(const second_argument_type &val)
BinaryOp::second_argument_type second_argument_type
bind1st_op(const first_argument_type &val)
Arg2 second_argument_type
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE Packet packetOp(const Packet &a, const Packet &b) const
EIGEN_DEVICE_FUNC unpacket_traits< Packet >::type predux_mul(const Packet &a)
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE Packet packetOp(const Packet &a, const Packet &b) const
EIGEN_DEVICE_FUNC Packet pdiv(const Packet &a, const Packet &b)
Determines whether the given binary operation of two numeric types is allowed and what the scalar ret...
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE Packet packetOp(const Packet &a) const
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE result_type operator()(const LhsScalar &a, const RhsScalar &b) const
BinaryOp::result_type result_type
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE result_type predux(const Packet &a) const
EIGEN_STRONG_INLINE RealScalar positive_real_hypot(const RealScalar &x, const RealScalar &y)
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE Packet packetOp(const Packet &a, const Packet &b) const
scalar_quotient_op< LhsScalar, RhsScalar >::result_type result_type
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE result_type operator()(const first_argument_type &a) const
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE result_type operator()(const LhsScalar &a, const RhsScalar &b) const
BinaryOp::result_type result_type
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE result_type operator()(const LhsScalar &a, const RhsScalar &b) const
ScalarBinaryOpTraits< LhsScalar, RhsScalar, scalar_conj_product_op >::ReturnType result_type
first_argument_type m_value
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T mini(const T &x, const T &y)
ScalarBinaryOpTraits< LhsScalar, RhsScalar, scalar_product_op >::ReturnType result_type
#define EIGEN_STRONG_INLINE
ScalarBinaryOpTraits< LhsScalar, RhsScalar, scalar_min_op >::ReturnType result_type
EIGEN_DEVICE_FUNC Packet pmax(const Packet &a, const Packet &b)
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE result_type predux(const Packet &a) const
EIGEN_DEVICE_FUNC Packet psub(const Packet &a, const Packet &b)
ScalarBinaryOpTraits< LhsScalar, RhsScalar, scalar_difference_op >::ReturnType result_type
EIGEN_DEVICE_FUNC internal::pow_impl< ScalarX, ScalarY >::result_type pow(const ScalarX &x, const ScalarY &y)
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE Packet packetOp(const Packet &b) const
ScalarBinaryOpTraits< Scalar, Exponent, scalar_pow_op >::ReturnType result_type
ScalarBinaryOpTraits< LhsScalar, RhsScalar, scalar_quotient_op >::ReturnType result_type
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE result_type predux(const Packet &a) const
EIGEN_DEVICE_FUNC unpacket_traits< Packet >::type predux(const Packet &a)
EIGEN_DEVICE_FUNC Packet pmul(const Packet &a, const Packet &b)
BinaryOp::first_argument_type first_argument_type
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE result_type operator()(const LhsScalar &a, const RhsScalar &b) const
EIGEN_DEVICE_FUNC Packet padd(const Packet &a, const Packet &b)
EIGEN_DEVICE_FUNC Packet pmin(const Packet &a, const Packet &b)
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE Packet packetOp(const Packet &a, const Packet &b) const
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE Packet packetOp(const Packet &a, const Packet &b) const
BinaryOp::second_argument_type second_argument_type
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T maxi(const T &x, const T &y)
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE result_type predux(const Packet &a) const
EIGEN_STRONG_INLINE Scalar pmul(const LhsScalar &x, const RhsScalar &y) const
ScalarBinaryOpTraits< LhsScalar, RhsScalar, scalar_max_op >::ReturnType result_type
ScalarBinaryOpTraits< LhsScalar, RhsScalar, scalar_sum_op >::ReturnType result_type
EIGEN_DEVICE_FUNC unpacket_traits< Packet >::type predux_min(const Packet &a)
EIGEN_DEPRECATED scalar_sum_op()
second_argument_type m_value
EIGEN_DEVICE_FUNC result_type operator()(const Scalar &a, const Exponent &b) const
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE result_type operator()(const second_argument_type &b) const
Holds information about the various numeric (i.e. scalar) types allowed by Eigen.
EIGEN_DEVICE_FUNC unpacket_traits< Packet >::type predux_max(const Packet &a)
control_box_rst
Author(s): Christoph Rösmann
autogenerated on Wed Mar 2 2022 00:05:38