Classes | Namespaces | Defines | Enumerations | Functions | Variables

/home/hauberg/Dokumenter/Capture/humim-tracker-0.1/src/ntk/geometry/Eigen/src/Core/MathFunctions.h File Reference

Go to the source code of this file.

Classes

struct  internal::global_math_functions_filtering_base< T, dummy >
struct  internal::always_void< T >
struct  internal::global_math_functions_filtering_base< T, typename always_void< typename T::Eigen_BaseClassForSpecializationOfGlobalMathFuncImpl >::type >
struct  internal::real_impl< Scalar >
struct  internal::real_impl< std::complex< RealScalar > >
struct  internal::real_retval< Scalar >
struct  internal::imag_impl< Scalar >
struct  internal::imag_impl< std::complex< RealScalar > >
struct  internal::imag_retval< Scalar >
struct  internal::real_ref_impl< Scalar >
struct  internal::real_ref_retval< Scalar >
struct  internal::imag_ref_default_impl< Scalar, IsComplex >
struct  internal::imag_ref_default_impl< Scalar, false >
struct  internal::imag_ref_impl< Scalar >
struct  internal::imag_ref_retval< Scalar >
struct  internal::conj_impl< Scalar >
struct  internal::conj_impl< std::complex< RealScalar > >
struct  internal::conj_retval< Scalar >
struct  internal::abs_impl< Scalar >
struct  internal::abs_retval< Scalar >
struct  internal::abs2_impl< Scalar >
struct  internal::abs2_impl< std::complex< RealScalar > >
struct  internal::abs2_retval< Scalar >
struct  internal::norm1_default_impl< Scalar, IsComplex >
struct  internal::norm1_default_impl< Scalar, false >
struct  internal::norm1_impl< Scalar >
struct  internal::norm1_retval< Scalar >
struct  internal::hypot_impl< Scalar >
struct  internal::hypot_retval< Scalar >
struct  internal::cast_impl
struct  internal::sqrt_default_impl< Scalar, IsInteger >
struct  internal::sqrt_default_impl< Scalar, true >
struct  internal::sqrt_impl< Scalar >
struct  internal::sqrt_retval< Scalar >
struct  internal::atan2_default_impl< Scalar, IsInteger >
struct  internal::atan2_default_impl< Scalar, true >
struct  internal::atan2_impl< Scalar >
struct  internal::atan2_retval< Scalar >
struct  internal::pow_default_impl
struct  internal::pow_default_impl< Scalar, true >
struct  internal::pow_impl< Scalar >
struct  internal::pow_retval< Scalar >
struct  internal::random_default_impl
struct  internal::random_impl< Scalar >
struct  internal::random_retval< Scalar >
struct  internal::random_default_impl< Scalar, false, false >
struct  internal::floor_log2_selector< n, lower, upper >
struct  internal::floor_log2< n, lower, upper, selector >
struct  internal::floor_log2< n, lower, upper, floor_log2_move_down >
struct  internal::floor_log2< n, lower, upper, floor_log2_move_up >
struct  internal::floor_log2< n, lower, upper, floor_log2_terminate >
struct  internal::floor_log2< n, lower, upper, floor_log2_bogus >
struct  internal::random_default_impl< Scalar, false, true >
struct  internal::random_default_impl< Scalar, true, false >
struct  internal::scalar_fuzzy_default_impl
struct  internal::scalar_fuzzy_default_impl< Scalar, false, false >
struct  internal::scalar_fuzzy_default_impl< Scalar, false, true >
struct  internal::scalar_fuzzy_default_impl< Scalar, true, false >
struct  internal::scalar_fuzzy_impl< Scalar >
struct  internal::random_impl< bool >
struct  internal::scalar_fuzzy_impl< bool >

Namespaces

namespace  internal

Defines

#define EIGEN_MATHFUNC_IMPL(func, scalar)   func##_impl<typename global_math_functions_filtering_base<scalar>::type>
#define EIGEN_MATHFUNC_RETVAL(func, scalar)   typename func##_retval<typename global_math_functions_filtering_base<scalar>::type>::type
#define EIGEN_MATHFUNC_STANDARD_REAL_UNARY(NAME)

Enumerations

enum  { internal::floor_log2_terminate, internal::floor_log2_move_up, internal::floor_log2_move_down, internal::floor_log2_bogus }

Functions

template<typename Scalar >
 internal::EIGEN_MATHFUNC_RETVAL (real, Scalar) real(const Scalar &x)
template<typename Scalar >
 internal::EIGEN_MATHFUNC_RETVAL (imag, Scalar) imag(const Scalar &x)
template<typename Scalar >
add_const_on_value_type
< EIGEN_MATHFUNC_RETVAL(real_ref,
Scalar) >::type 
internal::real_ref (const Scalar &x)
template<typename Scalar >
 internal::EIGEN_MATHFUNC_RETVAL (real_ref, Scalar) real_ref(Scalar &x)
template<typename Scalar >
add_const_on_value_type
< EIGEN_MATHFUNC_RETVAL(imag_ref,
Scalar) >::type 
internal::imag_ref (const Scalar &x)
template<typename Scalar >
 internal::EIGEN_MATHFUNC_RETVAL (imag_ref, Scalar) imag_ref(Scalar &x)
template<typename Scalar >
 internal::EIGEN_MATHFUNC_RETVAL (conj, Scalar) conj(const Scalar &x)
template<typename Scalar >
 internal::EIGEN_MATHFUNC_RETVAL (abs, Scalar) abs(const Scalar &x)
template<typename Scalar >
 internal::EIGEN_MATHFUNC_RETVAL (abs2, Scalar) abs2(const Scalar &x)
template<typename Scalar >
 internal::EIGEN_MATHFUNC_RETVAL (norm1, Scalar) norm1(const Scalar &x)
template<typename Scalar >
 internal::EIGEN_MATHFUNC_RETVAL (hypot, Scalar) hypot(const Scalar &x
template<typename OldType , typename NewType >
NewType internal::cast (const OldType &x)
template<typename Scalar >
 internal::EIGEN_MATHFUNC_RETVAL (sqrt, Scalar) sqrt(const Scalar &x)
template<typename Scalar >
 internal::EIGEN_MATHFUNC_RETVAL (atan2, Scalar) atan2(const Scalar &x
template<typename Scalar >
 internal::EIGEN_MATHFUNC_RETVAL (pow, Scalar) pow(const Scalar &x
template<typename Scalar >
 internal::EIGEN_MATHFUNC_RETVAL (random, Scalar) random(const Scalar &x
template<typename Scalar , typename OtherScalar >
bool internal::isMuchSmallerThan (const Scalar &x, const OtherScalar &y, typename NumTraits< Scalar >::Real precision=NumTraits< Scalar >::dummy_precision())
template<typename Scalar >
bool internal::isApprox (const Scalar &x, const Scalar &y, typename NumTraits< Scalar >::Real precision=NumTraits< Scalar >::dummy_precision())
template<typename Scalar >
bool internal::isApproxOrLessThan (const Scalar &x, const Scalar &y, typename NumTraits< Scalar >::Real precision=NumTraits< Scalar >::dummy_precision())

Variables

bool internal::IsComplex
const Scalar & internal::y

Define Documentation

#define EIGEN_MATHFUNC_IMPL (   func,
  scalar 
)    func##_impl<typename global_math_functions_filtering_base<scalar>::type>
#define EIGEN_MATHFUNC_RETVAL (   func,
  scalar 
)    typename func##_retval<typename global_math_functions_filtering_base<scalar>::type>::type
#define EIGEN_MATHFUNC_STANDARD_REAL_UNARY (   NAME  ) 
Value:
template<typename Scalar, bool IsInteger> struct NAME##_default_impl {            \
    static inline Scalar run(const Scalar& x) { return std::NAME(x); }              \
  };                                                                                \
  template<typename Scalar> struct NAME##_default_impl<Scalar, true> {              \
    static inline Scalar run(const Scalar&) {                                       \
      EIGEN_STATIC_ASSERT_NON_INTEGER(Scalar)                                       \
      return Scalar(0);                                                             \
    }                                                                               \
  };                                                                                \
  template<typename Scalar> struct NAME##_impl                                      \
    : NAME##_default_impl<Scalar, NumTraits<Scalar>::IsInteger>                     \
  {};                                                                               \
  template<typename Scalar> struct NAME##_retval { typedef Scalar type; };          \
  template<typename Scalar>                                                         \
  inline EIGEN_MATHFUNC_RETVAL(NAME, Scalar) NAME(const Scalar& x) {                \
    return EIGEN_MATHFUNC_IMPL(NAME, Scalar)::run(x);                               \
  }