From 894c9fb4cc78053689aabc4aa351b867de12a543 Mon Sep 17 00:00:00 2001 From: Sandeep Gupta Date: Fri, 7 Jul 2017 00:29:35 +0530 Subject: NORM --- 2.3-1/src/c/linearAlgebra/svd/.1.c.swp | Bin 0 -> 12288 bytes 2.3-1/src/c/linearAlgebra/svd/zsvda.c | 33 +++++++++++++++++++++------------ 2 files changed, 21 insertions(+), 12 deletions(-) create mode 100644 2.3-1/src/c/linearAlgebra/svd/.1.c.swp (limited to '2.3-1/src/c/linearAlgebra/svd') diff --git a/2.3-1/src/c/linearAlgebra/svd/.1.c.swp b/2.3-1/src/c/linearAlgebra/svd/.1.c.swp new file mode 100644 index 00000000..81d9e9cf Binary files /dev/null and b/2.3-1/src/c/linearAlgebra/svd/.1.c.swp differ diff --git a/2.3-1/src/c/linearAlgebra/svd/zsvda.c b/2.3-1/src/c/linearAlgebra/svd/zsvda.c index 0d360222..12a07aaf 100644 --- a/2.3-1/src/c/linearAlgebra/svd/zsvda.c +++ b/2.3-1/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