* sparse LU: add extraction of L,U,P, and Q, as well as determinant

for both backends.
* extended a bit the sparse unit tests
This commit is contained in:
Gael Guennebaud
2008-10-20 17:03:09 +00:00
parent e1c50a3cb1
commit 5066fe8bbe
7 changed files with 374 additions and 90 deletions

View File

@@ -160,7 +160,7 @@ void SparseLLT<MatrixType,Backend>::compute(const MatrixType& a)
{
Scalar y = it.value();
x -= ei_abs2(y);
++it; // skip j-th element, and process remaing column coefficients
++it; // skip j-th element, and process remaining column coefficients
tempVector.restart();
for (; it; ++it)
{