- optimized determinant calculations for small matrices (size <= 4)

(only 30 muls for size 4)
- rework the matrix inversion: now using cofactor technique for size<=3,
  so the ugly unrolling is only used for size 4 anymore, and even there
  I'm looking to get rid of it.
This commit is contained in:
Benoit Jacob
2008-04-14 17:07:12 +00:00
parent 9789c04467
commit 2a86f052a5
6 changed files with 150 additions and 32 deletions

View File

@@ -513,6 +513,7 @@ template<typename Derived> class MatrixBase
//@{
const Inverse<Derived, true> inverse() const;
const Inverse<Derived, false> quickInverse() const;
Scalar determinant() const;
//@}
private: