diff options
author | Gael Guennebaud <g.gael@free.fr> | 2008-06-29 21:29:12 +0000 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2008-06-29 21:29:12 +0000 |
commit | 37a50fa5268d6d408c74ab2d380785ce07ec302c (patch) | |
tree | cfb51b6dd0a9f89a67cbc5af4f16cbcc7eba7f58 /bench/BenchSparseUtil.h | |
parent | fbdecf09e174c0b9bc45695cab8fb9c49656ebfa (diff) |
* added an in-place version of inverseProduct which
might be twice faster fot small fixed size matrix
* added a sparse triangular solver (sparse version
of inverseProduct)
* various other improvements in the Sparse module
Diffstat (limited to 'bench/BenchSparseUtil.h')
-rw-r--r-- | bench/BenchSparseUtil.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bench/BenchSparseUtil.h b/bench/BenchSparseUtil.h index 97838f4b1..9d88148d0 100644 --- a/bench/BenchSparseUtil.h +++ b/bench/BenchSparseUtil.h @@ -64,7 +64,8 @@ void eiToGmm(const EigenSparseMatrix& src, GmmSparse& dst) #ifndef NOMTL #include <boost/numeric/mtl/mtl.hpp> -typedef mtl::compressed2D<Scalar> MtlSparse; +typedef mtl::compressed2D<Scalar, mtl::matrix::parameters<mtl::tag::col_major> > MtlSparse; +typedef mtl::compressed2D<Scalar, mtl::matrix::parameters<mtl::tag::row_major> > MtlSparseRowMajor; void eiToMtl(const EigenSparseMatrix& src, MtlSparse& dst) { mtl::matrix::inserter<MtlSparse> ins(dst); |