aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/MatrixBase.h
diff options
context:
space:
mode:
authorGravatar jdh8 <jdh8@acer.fedora>2012-08-15 00:34:20 +0800
committerGravatar jdh8 <jdh8@acer.fedora>2012-08-15 00:34:20 +0800
commit4be172d84f7033b24ac9fed3ffd3e2091af25dfd (patch)
tree8be62234b0a3bfb45b2c04ec330829cfa7676227 /Eigen/src/Core/MatrixBase.h
parentc5800a245212eca03cad9f98b9cb645e083231f2 (diff)
matrix power: MatrixBase::pow(RealScalar) and MatrixBase::pow(T) where T is integral type
Diffstat (limited to 'Eigen/src/Core/MatrixBase.h')
-rw-r--r--Eigen/src/Core/MatrixBase.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Eigen/src/Core/MatrixBase.h b/Eigen/src/Core/MatrixBase.h
index bb569238f..576c5d25b 100644
--- a/Eigen/src/Core/MatrixBase.h
+++ b/Eigen/src/Core/MatrixBase.h
@@ -454,6 +454,8 @@ template<typename Derived> class MatrixBase
const MatrixFunctionReturnValue<Derived> sin() const;
const MatrixSquareRootReturnValue<Derived> sqrt() const;
const MatrixLogarithmReturnValue<Derived> log() const;
+ template <typename ExponentType>
+ const MatrixPowerReturnValue<Derived, ExponentType> pow(const ExponentType& p) const;
#ifdef EIGEN2_SUPPORT
template<typename ProductDerived, typename Lhs, typename Rhs>