diff options
author | Gael Guennebaud <g.gael@free.fr> | 2009-01-17 14:05:01 +0000 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2009-01-17 14:05:01 +0000 |
commit | cc6c4d807b107859f88947f7ec440666476fca26 (patch) | |
tree | 61dbb438908923041f0d292910ebc502ffd3624b /bench/BenchSparseUtil.h | |
parent | c5020c6e8e34cab4da76d14c334969afcf201a28 (diff) |
add a sparse setter bench
Diffstat (limited to 'bench/BenchSparseUtil.h')
-rw-r--r-- | bench/BenchSparseUtil.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bench/BenchSparseUtil.h b/bench/BenchSparseUtil.h index b82356769..8319fa5ce 100644 --- a/bench/BenchSparseUtil.h +++ b/bench/BenchSparseUtil.h @@ -91,5 +91,14 @@ void eiToCSparse(const EigenSparseMatrix& src, cs* &dst) dst = cs_compress(aux); // cs_spfree(aux); } +#endif // CSPARSE + +#ifndef NOUBLAS +#include <boost/numeric/ublas/vector.hpp> +#include <boost/numeric/ublas/matrix.hpp> +#include <boost/numeric/ublas/io.hpp> +#include <boost/numeric/ublas/triangular.hpp> +#include <boost/numeric/ublas/vector_sparse.hpp> +#include <boost/numeric/ublas/matrix_sparse.hpp> #endif |