From 765219aa5180c40be86a380524db691a0fd5861b Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Mon, 13 Oct 2008 15:53:27 +0000 Subject: Big API change in Cholesky module: * rename Cholesky to LLT * rename CholeskyWithoutSquareRoot to LDLT * rename MatrixBase::cholesky() to llt() * rename MatrixBase::choleskyNoSqrt() to ldlt() * make {LLT,LDLT}::solve() API consistent with other modules Note that we are going to keep a source compatibility untill the next beta release. E.g., the "old" Cholesky* classes, etc are still available for some time. To be clear, Eigen beta2 should be (hopefully) source compatible with beta1, and so beta2 will contain all the deprecated API of beta1. Those features marked as deprecated will be removed in beta3 (or in the final 2.0 if there is no beta 3 !). Also includes various updated in sparse Cholesky. --- bench/sparse_product.cpp | 50 +++++++++++++++++++++++++++++++----------------- 1 file changed, 32 insertions(+), 18 deletions(-) (limited to 'bench/sparse_product.cpp') diff --git a/bench/sparse_product.cpp b/bench/sparse_product.cpp index 846301fa5..edeb08c5d 100644 --- a/bench/sparse_product.cpp +++ b/bench/sparse_product.cpp @@ -21,6 +21,18 @@ #define MINDENSITY 0.0004 #endif +#ifndef NBTRIES +#define NBTRIES 10 +#endif + +#define BENCH(X) \ + timer.reset(); \ + for (int _j=0; _j