Namespaces | Defines | Functions
GlobalFunctions.h File Reference

Go to the source code of this file.

Namespaces

namespace  Eigen
namespace  Eigen::internal
namespace  std

Defines

#define EIGEN_ARRAY_DECLARE_GLOBAL_EIGEN_UNARY(NAME, FUNCTOR)
#define EIGEN_ARRAY_DECLARE_GLOBAL_STD_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(); \
    } \
  };

Definition at line 36 of file GlobalFunctions.h.

#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(); \
  }

Definition at line 29 of file GlobalFunctions.h.



re_vision
Author(s): Dorian Galvez-Lopez
autogenerated on Sun Jan 5 2014 11:33:45