From 93115619c23bb41fd24b0090cb6adec501edaced Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Sun, 27 Jul 2008 11:39:47 +0000 Subject: * updated benchmark files according to recent renamings * various improvements in BTL including trisolver and cholesky bench --- bench/sparse_trisolver.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'bench/sparse_trisolver.cpp') diff --git a/bench/sparse_trisolver.cpp b/bench/sparse_trisolver.cpp index 27362c11b..c6b29e88d 100644 --- a/bench/sparse_trisolver.cpp +++ b/bench/sparse_trisolver.cpp @@ -60,8 +60,8 @@ int main(int argc, char *argv[]) BenchTimer timer; #if 1 EigenSparseTriMatrix sm1(rows,cols); - VectorXf b = VectorXf::random(cols); - VectorXf x = VectorXf::random(cols); + VectorXf b = VectorXf::Random(cols); + VectorXf x = VectorXf::Random(cols); bool densedone = false; @@ -171,9 +171,9 @@ int main(int argc, char *argv[]) { timer.reset(); for (int _j=0; _j<10; ++_j) { - Matrix4f m = Matrix4f::random(); - Vector4f b = Vector4f::random(); - Vector4f x = Vector4f::random(); + Matrix4f m = Matrix4f::Random(); + Vector4f b = Vector4f::Random(); + Vector4f x = Vector4f::Random(); timer.start(); for (int _k=0; _k<1000000; ++_k) { b = m.inverseProduct(b); @@ -186,9 +186,9 @@ int main(int argc, char *argv[]) { timer.reset(); for (int _j=0; _j<10; ++_j) { - Matrix4f m = Matrix4f::random(); - Vector4f b = Vector4f::random(); - Vector4f x = Vector4f::random(); + Matrix4f m = Matrix4f::Random(); + Vector4f b = Vector4f::Random(); + Vector4f x = Vector4f::Random(); timer.start(); for (int _k=0; _k<1000000; ++_k) { m.inverseProductInPlace(x); -- cgit v1.2.3