10 #ifndef EIGEN2_MATH_FUNCTIONS_H 11 #define EIGEN2_MATH_FUNCTIONS_H 17 template<
typename T>
inline T
ei_conj(
const T& x) {
return numext::conj(x); }
25 template<
typename T>
inline T
ei_atan2(
const T& x,
const T& y) {
using std::atan2;
return atan2(x,y); }
27 template<
typename T>
inline T
ei_random () {
return internal::random<T>(); }
28 template<
typename T>
inline T
ei_random (
const T& x,
const T& y) {
return internal::random(x, y); }
34 template<
typename Scalar,
typename OtherScalar>
41 template<
typename Scalar>
48 template<
typename Scalar>
57 #endif // EIGEN2_MATH_FUNCTIONS_H
const CwiseUnaryOp< internal::scalar_pow_op< Scalar >, const Derived > pow(const Scalar &exponent) const
Holds information about the various numeric (i.e. scalar) types allowed by Eigen. ...
bool ei_isApproxOrLessThan(const Scalar &x, const Scalar &y, typename NumTraits< Scalar >::Real precision=NumTraits< Scalar >::dummy_precision())
bool isMuchSmallerThan(const Scalar &x, const OtherScalar &y, typename NumTraits< Scalar >::Real precision=NumTraits< Scalar >::dummy_precision())
EIGEN_STRONG_INLINE const CwiseUnaryOp< internal::scalar_abs2_op< Scalar >, const Derived > abs2() const
const ImagReturnType imag() const
EIGEN_STRONG_INLINE const CwiseUnaryOp< internal::scalar_abs_op< Scalar >, const Derived > abs() const
RealReturnType real() const
T ei_pow(const T &x, const T &y)
NumTraits< T >::Real ei_abs2(const T &x)
bool ei_isMuchSmallerThan(const Scalar &x, const OtherScalar &y, typename NumTraits< Scalar >::Real precision=NumTraits< Scalar >::dummy_precision())
bool isApprox(const Scalar &x, const Scalar &y, typename NumTraits< Scalar >::Real precision=NumTraits< Scalar >::dummy_precision())
NumTraits< T >::Real ei_real(const T &x)
const CwiseUnaryOp< internal::scalar_log_op< Scalar >, const Derived > log() const
const CwiseUnaryOp< internal::scalar_sin_op< Scalar >, const Derived > sin() const
NumTraits< T >::Real ei_imag(const T &x)
bool ei_isApprox(const Scalar &x, const Scalar &y, typename NumTraits< Scalar >::Real precision=NumTraits< Scalar >::dummy_precision())
NumTraits< T >::Real ei_abs(const T &x)
bool isApproxOrLessThan(const Scalar &x, const Scalar &y, typename NumTraits< Scalar >::Real precision=NumTraits< Scalar >::dummy_precision())
const CwiseUnaryOp< internal::scalar_cos_op< Scalar >, const Derived > cos() const
T ei_atan2(const T &x, const T &y)
const CwiseUnaryOp< internal::scalar_sqrt_op< Scalar >, const Derived > sqrt() const
const CwiseUnaryOp< internal::scalar_exp_op< Scalar >, const Derived > exp() const