diff options
author | Gael Guennebaud <g.gael@free.fr> | 2008-10-21 13:35:04 +0000 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2008-10-21 13:35:04 +0000 |
commit | cf0f82ecbe1b92ec44e8fe34f65d6183059c9491 (patch) | |
tree | a4d6b680561765f192fc384100c68071e86648ab /bench/sparse_cholesky.cpp | |
parent | 9e02e42ff6757da1c96518a24c913a01250564ee (diff) |
sparse module:
- remove some useless stuff => let's focus on a single sparse matrix format
- finalize the new RandomSetter
Diffstat (limited to 'bench/sparse_cholesky.cpp')
-rw-r--r-- | bench/sparse_cholesky.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bench/sparse_cholesky.cpp b/bench/sparse_cholesky.cpp index d1d29c152..0a17848a0 100644 --- a/bench/sparse_cholesky.cpp +++ b/bench/sparse_cholesky.cpp @@ -1,5 +1,5 @@ -#define EIGEN_TAUCS_SUPPORT -#define EIGEN_CHOLMOD_SUPPORT +// #define EIGEN_TAUCS_SUPPORT +// #define EIGEN_CHOLMOD_SUPPORT #include <Eigen/Sparse> // g++ -DSIZE=10000 -DDENSITY=0.001 sparse_cholesky.cpp -I.. -DDENSEMATRI -O3 -g0 -DNDEBUG -DNBTRIES=1 -I /home/gael/Coding/LinearAlgebra/taucs_full/src/ -I/home/gael/Coding/LinearAlgebra/taucs_full/build/linux/ -L/home/gael/Coding/LinearAlgebra/taucs_full/lib/linux/ -ltaucs /home/gael/Coding/LinearAlgebra/GotoBLAS/libgoto.a -lpthread -I /home/gael/Coding/LinearAlgebra/SuiteSparse/CHOLMOD/Include/ $CHOLLIB -I /home/gael/Coding/LinearAlgebra/SuiteSparse/UFconfig/ /home/gael/Coding/LinearAlgebra/SuiteSparse/CCOLAMD/Lib/libccolamd.a /home/gael/Coding/LinearAlgebra/SuiteSparse/CHOLMOD/Lib/libcholmod.a -lmetis /home/gael/Coding/LinearAlgebra/SuiteSparse/AMD/Lib/libamd.a /home/gael/Coding/LinearAlgebra/SuiteSparse/CAMD/Lib/libcamd.a /home/gael/Coding/LinearAlgebra/SuiteSparse/CCOLAMD/Lib/libccolamd.a /home/gael/Coding/LinearAlgebra/SuiteSparse/COLAMD/Lib/libcolamd.a -llapack && ./a.out @@ -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[]) |