Add support for Sparse QR factorization

This commit is contained in:
Desire NUENTSA
2012-11-12 15:20:37 +01:00
parent 474716ec5b
commit 9cf77ce1d8
23 changed files with 6449 additions and 2 deletions

View File

@@ -77,9 +77,13 @@ cholmod_sparse viewAsCholmod(SparseMatrix<_Scalar,_Options,_Index>& mat)
{
res.itype = CHOLMOD_INT;
}
else if (internal::is_same<_Index,UF_long>::value)
{
res.itype = CHOLMOD_LONG;
}
else
{
eigen_assert(false && "Index type different than int is not supported yet");
eigen_assert(false && "Index type not supported yet");
}
// setup res.xtype