diff options
author | 2020-12-03 14:32:45 -0800 | |
---|---|---|
committer | 2020-12-03 14:32:45 -0800 | |
commit | f23dc5b971d1c11bc0fcb7068788a30e4bd7cbf1 (patch) | |
tree | daf4488df55322bc0840f2c75cb38f3884c4141c /Eigen/src/plugins/ArrayCwiseUnaryOps.h | |
parent | 4d91519a9be061da5d300079fca17dd0b9328050 (diff) |
Revert "Add log2() operator to Eigen"
This reverts commit 4d91519a9be061da5d300079fca17dd0b9328050.
Diffstat (limited to 'Eigen/src/plugins/ArrayCwiseUnaryOps.h')
-rw-r--r-- | Eigen/src/plugins/ArrayCwiseUnaryOps.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/Eigen/src/plugins/ArrayCwiseUnaryOps.h b/Eigen/src/plugins/ArrayCwiseUnaryOps.h index b7ea22a9d..59a4ee6a0 100644 --- a/Eigen/src/plugins/ArrayCwiseUnaryOps.h +++ b/Eigen/src/plugins/ArrayCwiseUnaryOps.h @@ -14,7 +14,6 @@ typedef CwiseUnaryOp<internal::scalar_expm1_op<Scalar>, const Derived> Expm1Retu typedef CwiseUnaryOp<internal::scalar_log_op<Scalar>, const Derived> LogReturnType; typedef CwiseUnaryOp<internal::scalar_log1p_op<Scalar>, const Derived> Log1pReturnType; typedef CwiseUnaryOp<internal::scalar_log10_op<Scalar>, const Derived> Log10ReturnType; -typedef CwiseUnaryOp<internal::scalar_log2_op<Scalar>, const Derived> Log2ReturnType; typedef CwiseUnaryOp<internal::scalar_cos_op<Scalar>, const Derived> CosReturnType; typedef CwiseUnaryOp<internal::scalar_sin_op<Scalar>, const Derived> SinReturnType; typedef CwiseUnaryOp<internal::scalar_tan_op<Scalar>, const Derived> TanReturnType; @@ -160,18 +159,6 @@ log10() const return Log10ReturnType(derived()); } -/** \returns an expression of the coefficient-wise base-2 logarithm of *this. - * - * This function computes the coefficient-wise base-2 logarithm. - * - */ -EIGEN_DEVICE_FUNC -inline const Log2ReturnType -log2() const -{ - return Log2ReturnType(derived()); -} - /** \returns an expression of the coefficient-wise square root of *this. * * This function computes the coefficient-wise square root. The function MatrixBase::sqrt() in the |