* 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

@@ -189,6 +189,10 @@ class SparseMatrix
m_outerSize = outerSize;
}
}
void resizeNonZeros(int size)
{
m_data.resize(size);
}
inline SparseMatrix()
: m_outerSize(0), m_innerSize(0), m_outerIndex(0)