Go to the documentation of this file.
11 #ifndef EIGEN_GLOBAL_FUNCTIONS_H
12 #define EIGEN_GLOBAL_FUNCTIONS_H
14 #ifdef EIGEN_PARSED_BY_DOXYGEN
16 #define EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(NAME,FUNCTOR,DOC_OP,DOC_DETAILS) \
23 template<typename Derived> \
24 inline const Eigen::CwiseUnaryOp<Eigen::internal::FUNCTOR<typename Derived::Scalar>, const Derived> \
25 NAME(const Eigen::ArrayBase<Derived>& x);
29 #define EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(NAME,FUNCTOR,DOC_OP,DOC_DETAILS) \
30 template<typename Derived> \
31 inline const Eigen::CwiseUnaryOp<Eigen::internal::FUNCTOR<typename Derived::Scalar>, const Derived> \
32 (NAME)(const Eigen::ArrayBase<Derived>& x) { \
33 return Eigen::CwiseUnaryOp<Eigen::internal::FUNCTOR<typename Derived::Scalar>, const Derived>(x.derived()); \
36 #endif // EIGEN_PARSED_BY_DOXYGEN
38 #define EIGEN_ARRAY_DECLARE_GLOBAL_EIGEN_UNARY(NAME,FUNCTOR) \
40 template<typename Derived> \
41 struct NAME##_retval<ArrayBase<Derived> > \
43 typedef const Eigen::CwiseUnaryOp<Eigen::internal::FUNCTOR<typename Derived::Scalar>, const Derived> type; \
45 template<typename Derived> \
46 struct NAME##_impl<ArrayBase<Derived> > \
48 static inline typename NAME##_retval<ArrayBase<Derived> >::type run(const Eigen::ArrayBase<Derived>& x) \
50 return typename NAME##_retval<ArrayBase<Derived> >::type(x.derived()); \
69 #if EIGEN_HAS_CXX11_MATH
110 #ifdef EIGEN_PARSED_BY_DOXYGEN
111 template<
typename Derived,
typename ScalarExponent>
112 inline const CwiseBinaryOp<internal::scalar_pow_op<Derived::Scalar,ScalarExponent>,Derived,Constant<ScalarExponent> >
115 template <
typename Derived,
typename ScalarExponent>
141 template<
typename Derived,
typename ExponentDerived>
164 #ifdef EIGEN_PARSED_BY_DOXYGEN
165 template<
typename Scalar,
typename Derived>
169 template <
typename Scalar,
typename Derived>
171 EIGEN_MSVC10_WORKAROUND_BINARYOP_RETURN_TYPE(
194 #endif // EIGEN_GLOBAL_FUNCTIONS_H
const AutoDiffScalar< DerType > & conj(const AutoDiffScalar< DerType > &x)
#define EIGEN_DEVICE_FUNC
Namespace containing all symbols from the Eigen library.
Annotation indicating that a class derives from another given type.
#define EIGEN_MSVC10_WORKAROUND_BINARYOP_RETURN_TYPE(X)
const EIGEN_DEVICE_FUNC InverseReturnType inverse() const
const EIGEN_DEVICE_FUNC LogisticReturnType logistic() const
Generic expression where a coefficient-wise binary operator is applied to two expressions.
const EIGEN_DEVICE_FUNC AtanReturnType atan() const
Jet< T, N > sin(const Jet< T, N > &f)
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
const EIGEN_DEVICE_FUNC SignReturnType sign() const
const EIGEN_DEVICE_FUNC LogReturnType log() const
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE Abs2ReturnType abs2() const
const EIGEN_DEVICE_FUNC AsinReturnType asin() const
const EIGEN_DEVICE_FUNC ExpReturnType exp() const
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 log2(const bfloat16 &a)
Jet< T, N > acos(const Jet< T, N > &f)
Jet< T, N > cos(const Jet< T, N > &f)
const EIGEN_DEVICE_FUNC CoshReturnType cosh() const
const EIGEN_DEVICE_FUNC DigammaReturnType digamma() const
#define EIGEN_ARRAY_DECLARE_GLOBAL_EIGEN_UNARY(NAME, FUNCTOR)
const EIGEN_DEVICE_FUNC LgammaReturnType lgamma() const
const EIGEN_DEVICE_FUNC SquareReturnType square() const
EIGEN_DEVICE_FUNC const Eigen::ArrayBase< Derived > & exponents
const EIGEN_DEVICE_FUNC RintReturnType rint() const
#define EIGEN_SCALAR_BINARYOP_EXPR_RETURN_TYPE(SCALAR, EXPR, OPNAME)
const EIGEN_DEVICE_FUNC ImagReturnType imag() const
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ArgReturnType arg() const
const EIGEN_DEVICE_FUNC TanReturnType tan() const
Jet< T, N > pow(const Jet< T, N > &f, double g)
const EIGEN_DEVICE_FUNC RsqrtReturnType rsqrt() const
#define EIGEN_EXPR_BINARYOP_SCALAR_RETURN_TYPE(EXPR, SCALAR, OPNAME)
idx_t idx_t idx_t idx_t idx_t idx_t idx_t real_t real_t idx_t idx_t idx_t * part
const EIGEN_DEVICE_FUNC CubeReturnType cube() const
Unit3_ normal(const OrientedPlane3_ &p)
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE CwiseAbs2ReturnType cwiseAbs2() const
Base class for all 1D and 2D array, and related expressions.
EIGEN_DEVICE_FUNC ConjugateReturnType conjugate() const
const Eigen::CwiseBinaryOp< Eigen::internal::scalar_pow_op< typename Derived::Scalar, typename ExponentDerived::Scalar >, const Derived, const ExponentDerived > pow(const Eigen::ArrayBase< Derived > &x, const Eigen::ArrayBase< ExponentDerived > &exponents)
const EIGEN_DEVICE_FUNC TanhReturnType tanh() const
const EIGEN_DEVICE_FUNC CwiseSqrtReturnType cwiseSqrt() const
const EIGEN_DEVICE_FUNC CeilReturnType ceil() const
CwiseNullaryOp< scalar_constant_op< Scalar >, const typename conditional< is_same< typename traits< Expr >::XprKind, MatrixXpr >::value, matrix_type, array_type >::type > type
const EIGEN_DEVICE_FUNC SinhReturnType sinh() const
#define EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(NAME, FUNCTOR, DOC_OP, DOC_DETAILS)
Jet< T, N > sqrt(const Jet< T, N > &f)
const EIGEN_DEVICE_FUNC Log10ReturnType log10() const
const EIGEN_DEVICE_FUNC FloorReturnType floor() const
const EIGEN_DEVICE_FUNC CwiseArgReturnType cwiseArg() const
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE CwiseAbsReturnType cwiseAbs() const
#define EIGEN_SCALAR_BINARY_SUPPORTED(OPNAME, TYPEA, TYPEB)
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:02:23