From 7a7f685a8436b456b246c49baf76bb8af930b214 Mon Sep 17 00:00:00 2001 From: Sandeep Gupta Date: Fri, 7 Jul 2017 00:29:35 +0530 Subject: NORM --- src/c/linearAlgebra/svd/.1.c.swp | Bin 0 -> 12288 bytes src/c/linearAlgebra/svd/zsvda.c | 33 +++++++++++++++++++++------------ 2 files changed, 21 insertions(+), 12 deletions(-) create mode 100644 src/c/linearAlgebra/svd/.1.c.swp (limited to 'src/c/linearAlgebra/svd') diff --git a/src/c/linearAlgebra/svd/.1.c.swp b/src/c/linearAlgebra/svd/.1.c.swp new file mode 100644 index 0000000..81d9e9c Binary files /dev/null and b/src/c/linearAlgebra/svd/.1.c.swp differ diff --git a/src/c/linearAlgebra/svd/zsvda.c b/src/c/linearAlgebra/svd/zsvda.c index 0d36022..12a07aa 100644 --- a/src/c/linearAlgebra/svd/zsvda.c +++ b/src/c/linearAlgebra/svd/zsvda.c @@ -113,7 +113,16 @@ void zsvda(doubleComplex *in1,int row,int col,int in2,int nout, doubleComplex *o out3[i+j*N] = zconjs(VT[j+i*N]); out3[j+i*N] = zconjs(VT[i+j*N]); } - } + } + /* output from zgesvd is copied to out2 variables in required format*/ + for(j=0;j N){ @@ -156,18 +165,18 @@ void zsvda(doubleComplex *in1,int row,int col,int in2,int nout, doubleComplex *o for(j=0;j