From 33a8f087574c89d257fccefd58643bd9b8fa9f22 Mon Sep 17 00:00:00 2001 From: Alberto Ruiz Date: Fri, 17 Apr 2009 11:55:32 +0000 Subject: restored C trans and constant for comparison --- lib/Numeric/LinearAlgebra/LAPACK/lapack-aux.c | 48 +++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) (limited to 'lib/Numeric/LinearAlgebra/LAPACK/lapack-aux.c') diff --git a/lib/Numeric/LinearAlgebra/LAPACK/lapack-aux.c b/lib/Numeric/LinearAlgebra/LAPACK/lapack-aux.c index a8ccf5f..d7248d1 100644 --- a/lib/Numeric/LinearAlgebra/LAPACK/lapack-aux.c +++ b/lib/Numeric/LinearAlgebra/LAPACK/lapack-aux.c @@ -908,3 +908,51 @@ int multiplyC(int ta, int tb, KCMAT(a),KCMAT(b),CMAT(r)) { (doublecomplex*)rp,&ldc); OK } + +//////////////////// transpose ///////////////////////// + +int transR(KDMAT(x),DMAT(t)) { + REQUIRES(xr==tc && xc==tr,BAD_SIZE); + DEBUGMSG("transR"); + int i,j; + for (i=0; i