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
43 template<
typename Packet>
46 template<
typename Packet>
50 template<
typename LhsScalar,
typename RhsScalar>
69 template<
typename LhsScalar,
typename RhsScalar>
73 #ifndef EIGEN_SCALAR_BINARY_OP_PLUGIN
81 template<
typename Packet>
84 template<
typename Packet>
88 template<
typename LhsScalar,
typename RhsScalar>
106 template<
typename LhsScalar,
typename RhsScalar>
120 template<
typename Packet>
124 template<
typename LhsScalar,
typename RhsScalar>
137 template<
typename LhsScalar,
typename RhsScalar,
int NaNPropagation>
143 return internal::pmin<NaNPropagation>(
a,
b);
145 template<
typename Packet>
148 return internal::pmin<NaNPropagation>(
a,
b);
150 template<
typename Packet>
153 return internal::predux_min<NaNPropagation>(
a);
157 template<
typename LhsScalar,
typename RhsScalar,
int NaNPropagation>
170 template<
typename LhsScalar,
typename RhsScalar,
int NaNPropagation>
176 return internal::pmax<NaNPropagation>(
a,
b);
178 template<
typename Packet>
181 return internal::pmax<NaNPropagation>(
a,
b);
183 template<
typename Packet>
186 return internal::predux_max<NaNPropagation>(
a);
190 template<
typename LhsScalar,
typename RhsScalar,
int NaNPropagation>
202 template<
typename LhsScalar,
typename RhsScalar, ComparisonName cmp>
struct scalar_cmp_op;
204 template<
typename LhsScalar,
typename RhsScalar, ComparisonName cmp>
212 template<ComparisonName Cmp,
typename LhsScalar,
typename RhsScalar>
218 template<
typename LhsScalar,
typename RhsScalar>
225 template<
typename LhsScalar,
typename RhsScalar>
232 template<
typename LhsScalar,
typename RhsScalar>
239 template<
typename LhsScalar,
typename RhsScalar>
246 template<
typename LhsScalar,
typename RhsScalar>
253 template<
typename LhsScalar,
typename RhsScalar>
260 template<
typename LhsScalar,
typename RhsScalar>
273 template<
typename Scalar>
288 template<
typename Scalar>
303 template<
typename Scalar,
typename Exponent>
307 #ifndef EIGEN_SCALAR_BINARY_OP_PLUGIN
312 typedef Exponent RhsScalar;
320 template<
typename Packet>
327 template<
typename Scalar,
typename Exponent>
348 template<
typename LhsScalar,
typename RhsScalar>
352 #ifndef EIGEN_SCALAR_BINARY_OP_PLUGIN
360 template<
typename Packet>
364 template<
typename LhsScalar,
typename RhsScalar>
377 template<
typename LhsScalar,
typename RhsScalar>
381 #ifndef EIGEN_SCALAR_BINARY_OP_PLUGIN
389 template<
typename Packet>
393 template<
typename LhsScalar,
typename RhsScalar>
412 template<
typename Packet>
431 template<
typename Packet>
450 template<
typename Packet>
466 template<
typename LhsScalar,
typename RhsScalar>
470 #ifndef EIGEN_SCALAR_BINARY_OP_PLUGIN
479 template<
typename Packet>
483 template<
typename LhsScalar,
typename RhsScalar>
509 template<
typename Packet>
511 {
return BinaryOp::packetOp(internal::pset1<Packet>(
m_value),
b); }
528 template<
typename Packet>
530 {
return BinaryOp::packetOp(
a,internal::pset1<Packet>(
m_value)); }
541 #endif // EIGEN_BINARY_FUNCTORS_H
#define EIGEN_EMPTY_STRUCT_CTOR(X)
ScalarBinaryOpTraits< LhsScalar, RhsScalar, scalar_absolute_difference_op >::ReturnType result_type
#define EIGEN_DEVICE_FUNC
Namespace containing all symbols from the Eigen library.
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE Packet packetOp(const Packet &a, const Packet &b) const
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE result_type operator()(const LhsScalar &a, const RhsScalar &b) const
BinaryOp::first_argument_type first_argument_type
EIGEN_DEVICE_FUNC bind1st_op(const first_argument_type &val)
EIGEN_DEVICE_FUNC bind2nd_op(const second_argument_type &val)
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet packetOp(const Packet &a, const Packet &b) const
BinaryOp::second_argument_type second_argument_type
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
Arg2 second_argument_type
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
EIGEN_DEVICE_FUNC unpacket_traits< Packet >::type predux_mul(const Packet &a)
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 EIGEN_STRONG_INLINE ResultType pmul(const LhsType &x, const RhsType &y) const
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
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet packetOp(const Packet &a, const Packet &b) const
BinaryOp::result_type result_type
EIGEN_STRONG_INLINE Packet8h pxor(const Packet8h &a, const Packet8h &b)
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE Packet packetOp(const Packet &a, const Packet &b) const
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T absdiff(const T &x, const T &y)
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 EIGEN_STRONG_INLINE RealScalar positive_real_hypot(const RealScalar &x, const RealScalar &y)
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_max_op >::ReturnType result_type
EIGEN_DEVICE_FUNC Packet pabsdiff(const Packet &a, const Packet &b)
ScalarBinaryOpTraits< LhsScalar, RhsScalar, scalar_min_op >::ReturnType result_type
internal::enable_if< internal::valid_indexed_view_overload< RowIndices, ColIndices >::value &&internal::traits< typename EIGEN_INDEXED_VIEW_METHOD_TYPE< RowIndices, ColIndices >::type >::ReturnAsIndexedView, typename EIGEN_INDEXED_VIEW_METHOD_TYPE< RowIndices, ColIndices >::type >::type operator()(const RowIndices &rowIndices, const ColIndices &colIndices) EIGEN_INDEXED_VIEW_METHOD_CONST
ScalarBinaryOpTraits< LhsScalar, RhsScalar, scalar_conj_product_op >::ReturnType result_type
first_argument_type m_value
ScalarBinaryOpTraits< LhsScalar, RhsScalar, scalar_product_op >::ReturnType result_type
#define EIGEN_SCALAR_BINARY_OP_PLUGIN
#define EIGEN_STRONG_INLINE
EIGEN_STRONG_INLINE Packet8h pand(const Packet8h &a, const Packet8h &b)
EIGEN_DEVICE_FUNC Packet psub(const Packet &a, const Packet &b)
ScalarBinaryOpTraits< LhsScalar, RhsScalar, scalar_difference_op >::ReturnType result_type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet packetOp(const Packet &a, const Packet &b) const
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
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet packetOp(const Packet &a, const Packet &b) const
ScalarBinaryOpTraits< LhsScalar, RhsScalar, scalar_quotient_op >::ReturnType result_type
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 EIGEN_STRONG_INLINE result_type predux(const Packet &a) const
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE result_type predux(const Packet &a) const
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_STRONG_INLINE Packet8h por(const Packet8h &a, const Packet8h &b)
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet packetOp(const Packet &a, const Packet &b) const
BinaryOp::second_argument_type second_argument_type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE result_type operator()(const LhsScalar &a, const RhsScalar &b) const
EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS EIGEN_UNUSED Packet generic_pow(const Packet &x, const Packet &y)
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE result_type predux(const Packet &a) const
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE Packet packetOp(const Packet &a, const Packet &b) const
ScalarBinaryOpTraits< LhsScalar, RhsScalar, scalar_sum_op >::ReturnType result_type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE result_type predux(const Packet &a) const
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 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
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:01:55