In LU / Inverse, decouple the output type from the input type.

This has long been done in the default branch
This commit is contained in:
Benoit Jacob
2010-01-26 18:45:23 -05:00
parent 7852a48a2f
commit 6cc9dc17f2
3 changed files with 32 additions and 29 deletions

View File

@@ -583,7 +583,8 @@ template<typename Derived> class MatrixBase
const LU<PlainMatrixType> lu() const;
const PlainMatrixType inverse() const;
void computeInverse(PlainMatrixType *result) const;
template<typename ResultType>
void computeInverse(MatrixBase<ResultType> *result) const;
Scalar determinant() const;
/////////// Cholesky module ///////////