diff options
author | Gael Guennebaud <g.gael@free.fr> | 2008-11-05 13:47:55 +0000 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2008-11-05 13:47:55 +0000 |
commit | 86ccd99d8d9a87d03f2f327766a02cc13849b54d (patch) | |
tree | 38dc0f0ad8253bc14d8b939d6e0f6f5cef440433 /bench/sparse_cholesky.cpp | |
parent | 9aba671cfc9d25357f74ba3811e182b8937e0d09 (diff) |
Several improvements in sparse module:
* add a LDL^T factorization with solver using code from T. Davis's LDL
library (LPGL2.1+)
* various bug fixes in trianfular solver, matrix product, etc.
* improve cmake files for the supported libraries
* split the sparse unit test
* etc.
Diffstat (limited to 'bench/sparse_cholesky.cpp')
-rw-r--r-- | bench/sparse_cholesky.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/sparse_cholesky.cpp b/bench/sparse_cholesky.cpp index 0a17848a0..5e07fac9b 100644 --- a/bench/sparse_cholesky.cpp +++ b/bench/sparse_cholesky.cpp @@ -70,7 +70,7 @@ void doEigen(const char* name, const EigenSparseSelfAdjointMatrix& sm1, int flag std::cout << ":\t" << timer.value() << endl; std::cout << " nnz: " << sm1.nonZeros() << " => " << chol.matrixL().nonZeros() << "\n"; - std::cout << "sparse\n" << chol.matrixL() << "%\n"; +// std::cout << "sparse\n" << chol.matrixL() << "%\n"; } int main(int argc, char *argv[]) @@ -118,7 +118,7 @@ int main(int argc, char *argv[]) if (!ei_isMuchSmallerThan(ei_abs(chol.matrixL()(i,j)), 0.1)) count++; std::cout << "dense: " << "nnz = " << count << "\n"; - std::cout << "dense:\n" << m1 << "\n\n" << chol.matrixL() << endl; +// std::cout << "dense:\n" << m1 << "\n\n" << chol.matrixL() << endl; } #endif |