From d8639b28ec9e83b54b45c987508d270d5469451c Mon Sep 17 00:00:00 2001 From: Reiner Pope Date: Fri, 24 Oct 2008 08:59:02 +0000 Subject: added dgetrs support for solving linear systems from LU factorization --- lib/Numeric/LinearAlgebra/LAPACK/lapack-aux.c | 29 +++++++++++++++++++++++++++ lib/Numeric/LinearAlgebra/LAPACK/lapack-aux.h | 2 ++ 2 files changed, 31 insertions(+) (limited to 'lib/Numeric/LinearAlgebra/LAPACK') diff --git a/lib/Numeric/LinearAlgebra/LAPACK/lapack-aux.c b/lib/Numeric/LinearAlgebra/LAPACK/lapack-aux.c index 310f6ee..de3cc98 100644 --- a/lib/Numeric/LinearAlgebra/LAPACK/lapack-aux.c +++ b/lib/Numeric/LinearAlgebra/LAPACK/lapack-aux.c @@ -20,6 +20,9 @@ #define OK return 0; #endif +#define TRACEMAT(M) {int q; printf(" %d x %d: ",M##r,M##c); \ + for(q=0;q