diff options
author | 2014-12-08 16:44:34 +0100 | |
---|---|---|
committer | 2014-12-08 16:44:34 +0100 | |
commit | 437191186165005e0b619c069239ac2913fd2c41 (patch) | |
tree | 9cf9e004cb97cd6ee3efb6e2986536000b4a5d7a | |
parent | 5fc4ce64492a0c791691204dbb465570d7b4a70d (diff) |
Remove useless and non standard numext::atanh2 function.
-rw-r--r-- | Eigen/src/Core/MathFunctions.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/Eigen/src/Core/MathFunctions.h b/Eigen/src/Core/MathFunctions.h index 72d6acfc1..16ad2dc7e 100644 --- a/Eigen/src/Core/MathFunctions.h +++ b/Eigen/src/Core/MathFunctions.h @@ -708,44 +708,6 @@ inline int log2(int x) } // end namespace numext - -namespace internal { - -/**************************************************************************** -* Implementation of atanh2 * -****************************************************************************/ - -template<typename Scalar> -struct atanh2_impl -{ - static inline Scalar run(const Scalar& x, const Scalar& r) - { - EIGEN_STATIC_ASSERT_NON_INTEGER(Scalar) - typedef typename NumTraits<Scalar>::Real RealScalar; - return numext::log1p(RealScalar(2) * x / (r - x)) / RealScalar(2); - } -}; - -template<typename Scalar> -struct atanh2_retval -{ - typedef Scalar type; -}; - - -} // end namespace internal - -namespace numext { - -template<typename Scalar> -EIGEN_DEVICE_FUNC -inline EIGEN_MATHFUNC_RETVAL(atanh2, Scalar) atanh2(const Scalar& x, const Scalar& y) -{ - return EIGEN_MATHFUNC_IMPL(atanh2, Scalar)::run(x, y); -} - -} // end namespace numext - namespace internal { /**************************************************************************** |