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 EIGEN_ARRAY_DECLARE_GLOBAL_EIGEN_UNARY | ( | NAME, | ||
FUNCTOR | ||||
) |
\ 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 | ||||
) |
template<typename Derived> \ inline const Eigen::CwiseUnaryOp<Eigen::internal::FUNCTOR<typename Derived::Scalar>, const Derived> \ NAME(const Eigen::ArrayBase<Derived>& x) { \ return x.derived(); \ }