Functions | |
template<typename T > | |
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE internal::enable_if< NumTraits< T >::IsSigned||NumTraits< T >::IsComplex, typename NumTraits< T >::Real >::type | abs (const T &x) |
template<typename T > | |
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE internal::enable_if<!(NumTraits< T >::IsSigned||NumTraits< T >::IsComplex), typename NumTraits< T >::Real >::type | abs (const T &x) |
template<typename T > | |
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T | acos (const T &x) |
template<typename T > | |
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T | asin (const T &x) |
template<typename T > | |
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T | atan (const T &x) |
template<typename T > | |
EIGEN_DEVICE_FUNC T() | ceil (const T &x) |
template<typename T > | |
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T | cos (const T &x) |
template<typename T > | |
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T | cosh (const T &x) |
template<typename T > | |
T | div_ceil (const T &a, const T &b) |
template<typename Scalar > | |
EIGEN_DEVICE_FUNC | EIGEN_MATHFUNC_RETVAL (real, Scalar) real(const Scalar &x) |
template<typename Scalar > | |
EIGEN_DEVICE_FUNC | EIGEN_MATHFUNC_RETVAL (real_ref, Scalar) real_ref(Scalar &x) |
template<typename Scalar > | |
EIGEN_DEVICE_FUNC | EIGEN_MATHFUNC_RETVAL (imag, Scalar) imag(const Scalar &x) |
template<typename Scalar > | |
EIGEN_DEVICE_FUNC | EIGEN_MATHFUNC_RETVAL (arg, Scalar) arg(const Scalar &x) |
template<typename Scalar > | |
EIGEN_DEVICE_FUNC | EIGEN_MATHFUNC_RETVAL (imag_ref, Scalar) imag_ref(Scalar &x) |
template<typename Scalar > | |
EIGEN_DEVICE_FUNC | EIGEN_MATHFUNC_RETVAL (conj, Scalar) conj(const Scalar &x) |
template<typename Scalar > | |
EIGEN_DEVICE_FUNC | EIGEN_MATHFUNC_RETVAL (abs2, Scalar) abs2(const Scalar &x) |
template<typename Scalar > | |
EIGEN_DEVICE_FUNC | EIGEN_MATHFUNC_RETVAL (norm1, Scalar) norm1(const Scalar &x) |
template<typename Scalar > | |
EIGEN_DEVICE_FUNC | EIGEN_MATHFUNC_RETVAL (hypot, Scalar) hypot(const Scalar &x |
template<typename Scalar > | |
EIGEN_DEVICE_FUNC | EIGEN_MATHFUNC_RETVAL (log1p, Scalar) log1p(const Scalar &x) |
template<typename Scalar > | |
EIGEN_DEVICE_FUNC | EIGEN_MATHFUNC_RETVAL (round, Scalar) round(const Scalar &x) |
template<typename Scalar > | |
EIGEN_DEVICE_FUNC | EIGEN_MATHFUNC_RETVAL (lgamma, Scalar) lgamma(const Scalar &x) |
template<typename Scalar > | |
EIGEN_DEVICE_FUNC | EIGEN_MATHFUNC_RETVAL (digamma, Scalar) digamma(const Scalar &x) |
template<typename Scalar > | |
EIGEN_DEVICE_FUNC | EIGEN_MATHFUNC_RETVAL (zeta, Scalar) zeta(const Scalar &x |
template<typename Scalar > | |
EIGEN_DEVICE_FUNC | EIGEN_MATHFUNC_RETVAL (polygamma, Scalar) polygamma(const Scalar &n |
template<typename Scalar > | |
EIGEN_DEVICE_FUNC | EIGEN_MATHFUNC_RETVAL (erf, Scalar) erf(const Scalar &x) |
template<typename Scalar > | |
EIGEN_DEVICE_FUNC | EIGEN_MATHFUNC_RETVAL (erfc, Scalar) erfc(const Scalar &x) |
template<typename Scalar > | |
EIGEN_DEVICE_FUNC | EIGEN_MATHFUNC_RETVAL (igamma, Scalar) igamma(const Scalar &a |
template<typename Scalar > | |
EIGEN_DEVICE_FUNC | EIGEN_MATHFUNC_RETVAL (igammac, Scalar) igammac(const Scalar &a |
template<typename Scalar > | |
EIGEN_DEVICE_FUNC | EIGEN_MATHFUNC_RETVAL (betainc, Scalar) betainc(const Scalar &a |
template<typename X , typename Y > | |
EIGEN_STRONG_INLINE bool | equal_strict (const X &x, const Y &y) |
template<> | |
EIGEN_STRONG_INLINE bool | equal_strict (const float &x, const float &y) |
template<> | |
EIGEN_STRONG_INLINE bool | equal_strict (const double &x, const double &y) |
template<typename T > | |
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T | exp (const T &x) |
template<typename T > | |
EIGEN_DEVICE_FUNC T() | floor (const T &x) |
template<typename T > | |
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T | fmod (const T &a, const T &b) |
template<typename Scalar > | |
EIGEN_DEVICE_FUNC internal::add_const_on_value_type< EIGEN_MATHFUNC_RETVAL(imag_ref, Scalar) >::type | imag_ref (const Scalar &x) |
template<typename T > | |
EIGEN_DEVICE_FUNC bool() | isfinite (const T &x) |
template<typename T > | |
EIGEN_DEVICE_FUNC bool() | isinf (const T &x) |
template<typename T > | |
EIGEN_DEVICE_FUNC bool() | isnan (const T &x) |
template<typename T > | |
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T | log (const T &x) |
int | log2 (int x) |
template<typename T > | |
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T | maxi (const T &x, const T &y) |
template<typename T > | |
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T | mini (const T &x, const T &y) |
template<typename X , typename Y > | |
EIGEN_STRONG_INLINE bool | not_equal_strict (const X &x, const Y &y) |
template<> | |
EIGEN_STRONG_INLINE bool | not_equal_strict (const float &x, const float &y) |
template<> | |
EIGEN_STRONG_INLINE bool | not_equal_strict (const double &x, const double &y) |
template<typename ScalarX , typename ScalarY > | |
EIGEN_DEVICE_FUNC internal::pow_impl< ScalarX, ScalarY >::result_type | pow (const ScalarX &x, const ScalarY &y) |
template<typename Scalar > | |
EIGEN_DEVICE_FUNC internal::add_const_on_value_type< EIGEN_MATHFUNC_RETVAL(real_ref, Scalar) >::type | real_ref (const Scalar &x) |
template<typename T > | |
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T | sin (const T &x) |
template<typename T > | |
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T | sinh (const T &x) |
template<> | |
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE float | sqrt (const float &x) |
template<> | |
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE double | sqrt (const double &x) |
template<typename T > | |
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T | sqrt (const T &x) |
template<typename T > | |
EIGEN_STRONG_INLINE void | swap (T &a, T &b) |
template<typename T > | |
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T | tan (const T &x) |
template<typename T > | |
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T | tanh (const T &x) |
Variables | |
EIGEN_DEVICE_FUNC const Scalar & | b |
EIGEN_DEVICE_FUNC const Scalar & | q |
EIGEN_DEVICE_FUNC const Scalar & | x |
EIGEN_DEVICE_FUNC const Scalar & | y |
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE internal::enable_if<NumTraits<T>::IsSigned || NumTraits<T>::IsComplex,typename NumTraits<T>::Real>::type Eigen::numext::abs | ( | const T & | x | ) |
Definition at line 1049 of file Eigen/src/Core/MathFunctions.h.
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE internal::enable_if<!(NumTraits<T>::IsSigned || NumTraits<T>::IsComplex),typename NumTraits<T>::Real>::type Eigen::numext::abs | ( | const T & | x | ) |
Definition at line 1057 of file Eigen/src/Core/MathFunctions.h.
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T Eigen::numext::acos | ( | const T & | x | ) |
Definition at line 1146 of file Eigen/src/Core/MathFunctions.h.
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T Eigen::numext::asin | ( | const T & | x | ) |
Definition at line 1161 of file Eigen/src/Core/MathFunctions.h.
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T Eigen::numext::atan | ( | const T & | x | ) |
Definition at line 1176 of file Eigen/src/Core/MathFunctions.h.
Definition at line 984 of file Eigen/src/Core/MathFunctions.h.
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T Eigen::numext::cos | ( | const T & | x | ) |
Definition at line 1101 of file Eigen/src/Core/MathFunctions.h.
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T Eigen::numext::cosh | ( | const T & | x | ) |
Definition at line 1192 of file Eigen/src/Core/MathFunctions.h.
|
inline |
Definition at line 858 of file Eigen/src/Core/MathFunctions.h.
|
inline |
Definition at line 872 of file Eigen/src/Core/MathFunctions.h.
|
inline |
Definition at line 879 of file Eigen/src/Core/MathFunctions.h.
|
inline |
Definition at line 886 of file Eigen/src/Core/MathFunctions.h.
|
inline |
Definition at line 900 of file Eigen/src/Core/MathFunctions.h.
|
inline |
Definition at line 907 of file Eigen/src/Core/MathFunctions.h.
|
inline |
Definition at line 914 of file Eigen/src/Core/MathFunctions.h.
|
inline |
Definition at line 921 of file Eigen/src/Core/MathFunctions.h.
|
inline |
|
inline |
Definition at line 935 of file Eigen/src/Core/MathFunctions.h.
|
inline |
Definition at line 961 of file Eigen/src/Core/MathFunctions.h.
|
inline |
Definition at line 1507 of file SpecialFunctionsImpl.h.
|
inline |
Definition at line 1513 of file SpecialFunctionsImpl.h.
|
inline |
|
inline |
|
inline |
Definition at line 1531 of file SpecialFunctionsImpl.h.
|
inline |
Definition at line 1537 of file SpecialFunctionsImpl.h.
|
inline |
|
inline |
|
inline |
EIGEN_STRONG_INLINE bool Eigen::numext::equal_strict | ( | const X & | x, |
const Y & | y | ||
) |
EIGEN_STRONG_INLINE bool Eigen::numext::equal_strict | ( | const float & | x, |
const float & | y | ||
) |
EIGEN_STRONG_INLINE bool Eigen::numext::equal_strict | ( | const double & | x, |
const double & | y | ||
) |
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T Eigen::numext::exp | ( | const T & | x | ) |
Definition at line 1086 of file Eigen/src/Core/MathFunctions.h.
Definition at line 968 of file Eigen/src/Core/MathFunctions.h.
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T Eigen::numext::fmod | ( | const T & | a, |
const T & | b | ||
) |
Definition at line 1242 of file Eigen/src/Core/MathFunctions.h.
|
inline |
Definition at line 893 of file Eigen/src/Core/MathFunctions.h.
EIGEN_DEVICE_FUNC bool() Eigen::numext::isfinite | ( | const T & | x | ) |
Definition at line 957 of file Eigen/src/Core/MathFunctions.h.
EIGEN_DEVICE_FUNC bool() Eigen::numext::isinf | ( | const T & | x | ) |
Definition at line 956 of file Eigen/src/Core/MathFunctions.h.
EIGEN_DEVICE_FUNC bool() Eigen::numext::isnan | ( | const T & | x | ) |
Definition at line 955 of file Eigen/src/Core/MathFunctions.h.
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T Eigen::numext::log | ( | const T & | x | ) |
Definition at line 1033 of file Eigen/src/Core/MathFunctions.h.
Log base 2 for 32 bits positive integers. Conveniently returns 0 for x==0.
Definition at line 1001 of file Eigen/src/Core/MathFunctions.h.
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T Eigen::numext::maxi | ( | const T & | x, |
const T & | y | ||
) |
Definition at line 823 of file Eigen/src/Core/MathFunctions.h.
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T Eigen::numext::mini | ( | const T & | x, |
const T & | y | ||
) |
Definition at line 815 of file Eigen/src/Core/MathFunctions.h.
EIGEN_STRONG_INLINE bool Eigen::numext::not_equal_strict | ( | const X & | x, |
const Y & | y | ||
) |
EIGEN_STRONG_INLINE bool Eigen::numext::not_equal_strict | ( | const float & | x, |
const float & | y | ||
) |
EIGEN_STRONG_INLINE bool Eigen::numext::not_equal_strict | ( | const double & | x, |
const double & | y | ||
) |
|
inline |
Definition at line 950 of file Eigen/src/Core/MathFunctions.h.
|
inline |
Definition at line 865 of file Eigen/src/Core/MathFunctions.h.
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T Eigen::numext::sin | ( | const T & | x | ) |
Definition at line 1116 of file Eigen/src/Core/MathFunctions.h.
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T Eigen::numext::sinh | ( | const T & | x | ) |
Definition at line 1207 of file Eigen/src/Core/MathFunctions.h.
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE float Eigen::numext::sqrt | ( | const float & | x | ) |
Definition at line 540 of file Eigen/src/Core/arch/SSE/MathFunctions.h.
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE double Eigen::numext::sqrt | ( | const double & | x | ) |
Definition at line 547 of file Eigen/src/Core/arch/SSE/MathFunctions.h.
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T Eigen::numext::sqrt | ( | const T & | x | ) |
It is essentially equivalent to
but slightly faster for float/double and some compilers (e.g., gcc), thanks to specializations when SSE is enabled.
It's usage is justified in performance critical functions, like norm/normalize.
Definition at line 1025 of file Eigen/src/Core/MathFunctions.h.
EIGEN_STRONG_INLINE void Eigen::numext::swap | ( | T & | a, |
T & | b | ||
) |
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T Eigen::numext::tan | ( | const T & | x | ) |
Definition at line 1131 of file Eigen/src/Core/MathFunctions.h.
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T Eigen::numext::tanh | ( | const T & | x | ) |
Definition at line 1222 of file Eigen/src/Core/MathFunctions.h.
EIGEN_DEVICE_FUNC const Scalar& Eigen::numext::b |
Definition at line 1556 of file SpecialFunctionsImpl.h.
EIGEN_DEVICE_FUNC const Scalar& Eigen::numext::q |
Definition at line 1520 of file SpecialFunctionsImpl.h.
Definition at line 1526 of file SpecialFunctionsImpl.h.
EIGEN_DEVICE_FUNC const Scalar& Eigen::numext::y |
Definition at line 929 of file Eigen/src/Core/MathFunctions.h.