big rewrite in Inverse.h

in particular, the API is essentially finalized and the 4x4 case is fixed to be numerically stable.
This commit is contained in:
Benoit Jacob
2009-10-26 11:18:23 -04:00
parent 68d48511b2
commit ec02388a5d
3 changed files with 259 additions and 215 deletions

View File

@@ -703,9 +703,12 @@ template<typename Derived> class MatrixBase
const PartialLU<PlainMatrixType> partialLu() const;
const PlainMatrixType inverse() const;
template<typename ResultType>
void computeInverse(ResultType *result) const;
template<typename ResultType>
bool computeInverseWithCheck(ResultType *result ) const;
void computeInverseAndDetWithCheck(
ResultType& inverse,
typename ResultType::Scalar& determinant,
bool& invertible,
const RealScalar& absDeterminantThreshold = precision<Scalar>()
) const;
Scalar determinant() const;
/////////// Cholesky module ///////////