Namespaces | Defines | Functions

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

Go to the source code of this file.

Namespaces

namespace  std
namespace  Eigen
namespace  Eigen::internal

Defines

#define EIGEN_ARRAY_DECLARE_GLOBAL_STD_UNARY(NAME, FUNCTOR)
#define EIGEN_ARRAY_DECLARE_GLOBAL_EIGEN_UNARY(NAME, FUNCTOR)

Functions

template<typename Derived >
const Eigen::CwiseUnaryOp
< Eigen::internal::scalar_pow_op
< typename Derived::Scalar >
, const Derived > 
std::pow (const Eigen::ArrayBase< Derived > &x, const typename Derived::Scalar &exponent)

Define Documentation

#define EIGEN_ARRAY_DECLARE_GLOBAL_EIGEN_UNARY (   NAME,
  FUNCTOR 
)
Value:
\
  template<typename Derived> \
  struct NAME##_retval<ArrayBase<Derived> > \
  { \
    typedef const Eigen::CwiseUnaryOp<Eigen::internal::FUNCTOR<typename Derived::Scalar>, const Derived> type; \
  }; \
  template<typename Derived> \
  struct NAME##_impl<ArrayBase<Derived> > \
  { \
    static inline typename NAME##_retval<ArrayBase<Derived> >::type run(const Eigen::ArrayBase<Derived>& x) \
    { \
      return x.derived(); \
    } \
  };
#define EIGEN_ARRAY_DECLARE_GLOBAL_STD_UNARY (   NAME,
  FUNCTOR 
)
Value:
template<typename Derived> \
  inline const Eigen::CwiseUnaryOp<Eigen::internal::FUNCTOR<typename Derived::Scalar>, const Derived> \
  NAME(const Eigen::ArrayBase<Derived>& x) { \
    return x.derived(); \
  }