aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2008-07-19 22:59:05 +0000
committerGravatar Gael Guennebaud <g.gael@free.fr>2008-07-19 22:59:05 +0000
commit269f683902231020a910fd4e2c1b74554183e2c8 (patch)
treef95a531cd1792f1df2122a3879217adc8eb9ec18 /Eigen/src/Core
parent6e2c53e0562785f2f8c72a67dd8c40451cf2a319 (diff)
Add cholesky's members to MatrixBase
Various documentation improvements including new snippets (AngleAxis and Cholesky)
Diffstat (limited to 'Eigen/src/Core')
-rw-r--r--Eigen/src/Core/MatrixBase.h4
-rw-r--r--Eigen/src/Core/util/ForwardDeclarations.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/Eigen/src/Core/MatrixBase.h b/Eigen/src/Core/MatrixBase.h
index c6ea5f14f..bd4b64b05 100644
--- a/Eigen/src/Core/MatrixBase.h
+++ b/Eigen/src/Core/MatrixBase.h
@@ -532,6 +532,10 @@ template<typename Derived> class MatrixBase
void computeInverse(typename ei_eval<Derived>::type *result) const;
Scalar determinant() const;
+/////////// Cholesky module ///////////
+
+ const Cholesky<typename ei_eval<Derived>::type> cholesky() const;
+ const CholeskyWithoutSquareRoot<typename ei_eval<Derived>::type> choleskyNoSqrt() const;
/////////// QR module ///////////
diff --git a/Eigen/src/Core/util/ForwardDeclarations.h b/Eigen/src/Core/util/ForwardDeclarations.h
index 0246b43cc..1fba262e2 100644
--- a/Eigen/src/Core/util/ForwardDeclarations.h
+++ b/Eigen/src/Core/util/ForwardDeclarations.h
@@ -96,6 +96,8 @@ void ei_cache_friendly_product(
template<typename ExpressionType, bool CheckExistence = true> class Inverse;
template<typename MatrixType> class QR;
+template<typename MatrixType> class Cholesky;
+template<typename MatrixType> class CholeskyWithoutSquareRoot;
// Geometry module:
template<typename Lhs, typename Rhs> class Cross;