* make inverse() do a ReturnByValue

* add computeInverseWithCheck
* doc improvements
* update test
This commit is contained in:
Benoit Jacob
2009-10-26 14:16:50 -04:00
parent 07d1bcffda
commit 44cdbaba4d
5 changed files with 89 additions and 21 deletions

View File

@@ -701,7 +701,7 @@ template<typename Derived> class MatrixBase
const LU<PlainMatrixType> lu() const;
const PartialLU<PlainMatrixType> partialLu() const;
const PlainMatrixType inverse() const;
const ei_inverse_impl<Derived> inverse() const;
template<typename ResultType>
void computeInverseAndDetWithCheck(
ResultType& inverse,
@@ -709,6 +709,12 @@ template<typename Derived> class MatrixBase
bool& invertible,
const RealScalar& absDeterminantThreshold = precision<Scalar>()
) const;
template<typename ResultType>
void computeInverseWithCheck(
ResultType& inverse,
bool& invertible,
const RealScalar& absDeterminantThreshold = precision<Scalar>()
) const;
Scalar determinant() const;
/////////// Cholesky module ///////////