summaryrefslogtreecommitdiff
path: root/2.3-1/src
diff options
context:
space:
mode:
Diffstat (limited to '2.3-1/src')
-rw-r--r--2.3-1/src/c/linearAlgebra/includes/spec.h (renamed from 2.3-1/src/c/matrixOperations/includes/spec.h)0
-rw-r--r--2.3-1/src/c/linearAlgebra/interfaces/int_spec.h (renamed from 2.3-1/src/c/matrixOperations/interfaces/int_spec.h)9
-rw-r--r--2.3-1/src/c/linearAlgebra/spec/Makefile.am (renamed from 2.3-1/src/c/matrixOperations/spec/Makefile.am)0
-rw-r--r--2.3-1/src/c/linearAlgebra/spec/Makefile.in (renamed from 2.3-1/src/c/matrixOperations/spec/Makefile.in)0
-rw-r--r--2.3-1/src/c/linearAlgebra/spec/cspeca.c (renamed from 2.3-1/src/c/matrixOperations/spec/cspeca.c)0
-rw-r--r--2.3-1/src/c/linearAlgebra/spec/dspec1a.c41
-rw-r--r--2.3-1/src/c/linearAlgebra/spec/dspeca.c (renamed from 2.3-1/src/c/matrixOperations/spec/dspeca.c)0
-rw-r--r--2.3-1/src/c/linearAlgebra/spec/sspeca.c (renamed from 2.3-1/src/c/matrixOperations/spec/sspeca.c)0
-rw-r--r--2.3-1/src/c/linearAlgebra/spec/testDoubleSpec.c (renamed from 2.3-1/src/c/matrixOperations/spec/testDoubleSpec.c)0
-rw-r--r--2.3-1/src/c/linearAlgebra/spec/testFloatSpec.c (renamed from 2.3-1/src/c/matrixOperations/spec/testFloatSpec.c)0
-rw-r--r--2.3-1/src/c/linearAlgebra/spec/test_DoubleSpec/testDoubleSpec.vcxproj (renamed from 2.3-1/src/c/matrixOperations/spec/test_DoubleSpec/testDoubleSpec.vcxproj)0
-rw-r--r--2.3-1/src/c/linearAlgebra/spec/test_DoubleSpec/testDoubleSpec.vcxproj.filters (renamed from 2.3-1/src/c/matrixOperations/spec/test_DoubleSpec/testDoubleSpec.vcxproj.filters)0
-rw-r--r--2.3-1/src/c/linearAlgebra/spec/test_FloatSpec/testFloatSpec.vcxproj (renamed from 2.3-1/src/c/matrixOperations/spec/test_FloatSpec/testFloatSpec.vcxproj)0
-rw-r--r--2.3-1/src/c/linearAlgebra/spec/test_FloatSpec/testFloatSpec.vcxproj.filters (renamed from 2.3-1/src/c/matrixOperations/spec/test_FloatSpec/testFloatSpec.vcxproj.filters)0
-rw-r--r--2.3-1/src/c/linearAlgebra/spec/zspeca.c (renamed from 2.3-1/src/c/matrixOperations/spec/zspeca.c)0
-rw-r--r--2.3-1/src/c/linearAlgebra/spec2/Makefile.am (renamed from 2.3-1/src/c/matrixOperations/spec2/Makefile.am)0
-rw-r--r--2.3-1/src/c/linearAlgebra/spec2/Makefile.in (renamed from 2.3-1/src/c/matrixOperations/spec2/Makefile.in)0
-rw-r--r--2.3-1/src/c/linearAlgebra/spec2/cspec2a.c (renamed from 2.3-1/src/c/matrixOperations/spec2/cspec2a.c)0
-rw-r--r--2.3-1/src/c/linearAlgebra/spec2/dspec2a.c (renamed from 2.3-1/src/c/matrixOperations/spec2/dspec2a.c)0
-rw-r--r--2.3-1/src/c/linearAlgebra/spec2/sspec2a.c (renamed from 2.3-1/src/c/matrixOperations/spec2/sspec2a.c)0
-rw-r--r--2.3-1/src/c/linearAlgebra/spec2/testDoubleSpec2.c (renamed from 2.3-1/src/c/matrixOperations/spec2/testDoubleSpec2.c)0
-rw-r--r--2.3-1/src/c/linearAlgebra/spec2/testFloatSpec2.c (renamed from 2.3-1/src/c/matrixOperations/spec2/testFloatSpec2.c)0
-rw-r--r--2.3-1/src/c/linearAlgebra/spec2/test_DoubleSpec2/testDoubleSpec2.vcxproj (renamed from 2.3-1/src/c/matrixOperations/spec2/test_DoubleSpec2/testDoubleSpec2.vcxproj)0
-rw-r--r--2.3-1/src/c/linearAlgebra/spec2/test_DoubleSpec2/testDoubleSpec2.vcxproj.filters (renamed from 2.3-1/src/c/matrixOperations/spec2/test_DoubleSpec2/testDoubleSpec2.vcxproj.filters)0
-rw-r--r--2.3-1/src/c/linearAlgebra/spec2/test_FloatSpec2/testFloatSpec2.vcxproj (renamed from 2.3-1/src/c/matrixOperations/spec2/test_FloatSpec2/testFloatSpec2.vcxproj)0
-rw-r--r--2.3-1/src/c/linearAlgebra/spec2/test_FloatSpec2/testFloatSpec2.vcxproj.filters (renamed from 2.3-1/src/c/matrixOperations/spec2/test_FloatSpec2/testFloatSpec2.vcxproj.filters)0
-rw-r--r--2.3-1/src/c/linearAlgebra/spec2/zspec2a.c (renamed from 2.3-1/src/c/matrixOperations/spec2/zspec2a.c)0
27 files changed, 46 insertions, 4 deletions
diff --git a/2.3-1/src/c/matrixOperations/includes/spec.h b/2.3-1/src/c/linearAlgebra/includes/spec.h
index b7b7d35c..b7b7d35c 100644
--- a/2.3-1/src/c/matrixOperations/includes/spec.h
+++ b/2.3-1/src/c/linearAlgebra/includes/spec.h
diff --git a/2.3-1/src/c/matrixOperations/interfaces/int_spec.h b/2.3-1/src/c/linearAlgebra/interfaces/int_spec.h
index 77ab55e7..c9463292 100644
--- a/2.3-1/src/c/matrixOperations/interfaces/int_spec.h
+++ b/2.3-1/src/c/linearAlgebra/interfaces/int_spec.h
@@ -8,6 +8,7 @@
* are also available at
* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
*
+ * Edited - Sandeep Gupta (FOSSEE) - IIT Bombay
*/
/* THIS IS AN AUTOMATICALLY GENERATED FILE : DO NOT EDIT BY HAND. */
@@ -26,13 +27,13 @@
#define z0specz0(in) zspecs(in)
#define s2specc2(in,size,out) {float* ZEROS;\
- ZEROS=malloc((uint)(size[0]*size[0]*sizeof(float)));\
+ ZEROS=(float *)malloc((uint)(size[0]*size[0]*sizeof(float)));\
szerosa(ZEROS,size[0],size[0]);\
cspeca(FloatComplexMatrix(in,ZEROS,size[0]*size[0]), size[0], out);\
}
#define d2specz2(in,size,out) {double* ZEROS;\
- ZEROS=malloc((uint)(size[0]*size[0]*sizeof(double)));\
+ ZEROS=(double *)malloc((uint)(size[0]*size[0]*sizeof(double)));\
dzerosa(ZEROS,size[0],size[0]);\
zspeca(DoubleComplexMatrix(in,ZEROS,size[0]*size[0]), size[0] , out);\
}
@@ -52,13 +53,13 @@
#define z0specz0z0(in,out) zspec2s(in,out)
#define s2specc2c2(in,size,out1,out2) {float* ZEROS;\
- ZEROS=malloc((uint)(size[0]*size[0]*sizeof(float)));\
+ ZEROS=(float *)malloc((uint)(size[0]*size[0]*sizeof(float)));\
szerosa(ZEROS,size[0],size[0]);\
cspec2a(FloatComplexMatrix(in,ZEROS,size[0]*size[0]), size[0] , out1 , out2 );\
}
#define d2specz2z2(in,size,out1,out2) {double* ZEROS;\
- ZEROS=malloc((uint)(size[0]*size[0]*sizeof(double)));\
+ ZEROS=(double *)malloc((uint)(size[0]*size[0]*sizeof(double)));\
dzerosa(ZEROS,size[0],size[0]);\
zspec2a(DoubleComplexMatrix(in,ZEROS,size[0]*size[0]), size[0] , out1 , out2 );\
}
diff --git a/2.3-1/src/c/matrixOperations/spec/Makefile.am b/2.3-1/src/c/linearAlgebra/spec/Makefile.am
index 90dbd0aa..90dbd0aa 100644
--- a/2.3-1/src/c/matrixOperations/spec/Makefile.am
+++ b/2.3-1/src/c/linearAlgebra/spec/Makefile.am
diff --git a/2.3-1/src/c/matrixOperations/spec/Makefile.in b/2.3-1/src/c/linearAlgebra/spec/Makefile.in
index 9c34c9e6..9c34c9e6 100644
--- a/2.3-1/src/c/matrixOperations/spec/Makefile.in
+++ b/2.3-1/src/c/linearAlgebra/spec/Makefile.in
diff --git a/2.3-1/src/c/matrixOperations/spec/cspeca.c b/2.3-1/src/c/linearAlgebra/spec/cspeca.c
index a2b6548b..a2b6548b 100644
--- a/2.3-1/src/c/matrixOperations/spec/cspeca.c
+++ b/2.3-1/src/c/linearAlgebra/spec/cspeca.c
diff --git a/2.3-1/src/c/linearAlgebra/spec/dspec1a.c b/2.3-1/src/c/linearAlgebra/spec/dspec1a.c
new file mode 100644
index 00000000..069454da
--- /dev/null
+++ b/2.3-1/src/c/linearAlgebra/spec/dspec1a.c
@@ -0,0 +1,41 @@
+/* Copyright (C) 2017 - IIT Bombay - FOSSEE
+
+ This file must be used under the terms of the CeCILL.
+ This source file is licensed as described in the file COPYING, which
+ you should have received as part of this distribution. The terms
+ are also available at
+ http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ Author: Sandeep Gupta
+ Organization: FOSSEE, IIT Bombay
+ Email: toolbox@scilab.in
+ */
+
+/*This function finds the hessenberg form of a matrix A.*/
+
+#include "hess.h"
+#include <stdio.h>
+#include "string.h"
+#include "stdlib.h"
+#include "lapack.h"
+#include "matrixTranspose.h"
+#include "matrixMultiplication.h"
+
+void dspec1a(double *in1,double *in2,int size,int nout,double *out1,double *out2,double *out3,double *out4){
+ char JOBVL;
+ char JOBVR;
+ int N;
+ double *A;
+ int LDA;
+ double *B;
+ int LDA;
+ double *ALPHAR;
+ double *ALPHAI;
+ double *BETA;
+ double *VL;
+ int LDVL;
+ double *VR;
+ int LDVR;
+ double *WORK;
+ int LWORK;
+ int INFO;
+}
diff --git a/2.3-1/src/c/matrixOperations/spec/dspeca.c b/2.3-1/src/c/linearAlgebra/spec/dspeca.c
index 1131ecf2..1131ecf2 100644
--- a/2.3-1/src/c/matrixOperations/spec/dspeca.c
+++ b/2.3-1/src/c/linearAlgebra/spec/dspeca.c
diff --git a/2.3-1/src/c/matrixOperations/spec/sspeca.c b/2.3-1/src/c/linearAlgebra/spec/sspeca.c
index 50751a29..50751a29 100644
--- a/2.3-1/src/c/matrixOperations/spec/sspeca.c
+++ b/2.3-1/src/c/linearAlgebra/spec/sspeca.c
diff --git a/2.3-1/src/c/matrixOperations/spec/testDoubleSpec.c b/2.3-1/src/c/linearAlgebra/spec/testDoubleSpec.c
index 25c88065..25c88065 100644
--- a/2.3-1/src/c/matrixOperations/spec/testDoubleSpec.c
+++ b/2.3-1/src/c/linearAlgebra/spec/testDoubleSpec.c
diff --git a/2.3-1/src/c/matrixOperations/spec/testFloatSpec.c b/2.3-1/src/c/linearAlgebra/spec/testFloatSpec.c
index 9bd46adc..9bd46adc 100644
--- a/2.3-1/src/c/matrixOperations/spec/testFloatSpec.c
+++ b/2.3-1/src/c/linearAlgebra/spec/testFloatSpec.c
diff --git a/2.3-1/src/c/matrixOperations/spec/test_DoubleSpec/testDoubleSpec.vcxproj b/2.3-1/src/c/linearAlgebra/spec/test_DoubleSpec/testDoubleSpec.vcxproj
index f696bff4..f696bff4 100644
--- a/2.3-1/src/c/matrixOperations/spec/test_DoubleSpec/testDoubleSpec.vcxproj
+++ b/2.3-1/src/c/linearAlgebra/spec/test_DoubleSpec/testDoubleSpec.vcxproj
diff --git a/2.3-1/src/c/matrixOperations/spec/test_DoubleSpec/testDoubleSpec.vcxproj.filters b/2.3-1/src/c/linearAlgebra/spec/test_DoubleSpec/testDoubleSpec.vcxproj.filters
index dcdaea5c..dcdaea5c 100644
--- a/2.3-1/src/c/matrixOperations/spec/test_DoubleSpec/testDoubleSpec.vcxproj.filters
+++ b/2.3-1/src/c/linearAlgebra/spec/test_DoubleSpec/testDoubleSpec.vcxproj.filters
diff --git a/2.3-1/src/c/matrixOperations/spec/test_FloatSpec/testFloatSpec.vcxproj b/2.3-1/src/c/linearAlgebra/spec/test_FloatSpec/testFloatSpec.vcxproj
index 0631bb40..0631bb40 100644
--- a/2.3-1/src/c/matrixOperations/spec/test_FloatSpec/testFloatSpec.vcxproj
+++ b/2.3-1/src/c/linearAlgebra/spec/test_FloatSpec/testFloatSpec.vcxproj
diff --git a/2.3-1/src/c/matrixOperations/spec/test_FloatSpec/testFloatSpec.vcxproj.filters b/2.3-1/src/c/linearAlgebra/spec/test_FloatSpec/testFloatSpec.vcxproj.filters
index 2ba2e59f..2ba2e59f 100644
--- a/2.3-1/src/c/matrixOperations/spec/test_FloatSpec/testFloatSpec.vcxproj.filters
+++ b/2.3-1/src/c/linearAlgebra/spec/test_FloatSpec/testFloatSpec.vcxproj.filters
diff --git a/2.3-1/src/c/matrixOperations/spec/zspeca.c b/2.3-1/src/c/linearAlgebra/spec/zspeca.c
index a2b1c25a..a2b1c25a 100644
--- a/2.3-1/src/c/matrixOperations/spec/zspeca.c
+++ b/2.3-1/src/c/linearAlgebra/spec/zspeca.c
diff --git a/2.3-1/src/c/matrixOperations/spec2/Makefile.am b/2.3-1/src/c/linearAlgebra/spec2/Makefile.am
index 5a357fa5..5a357fa5 100644
--- a/2.3-1/src/c/matrixOperations/spec2/Makefile.am
+++ b/2.3-1/src/c/linearAlgebra/spec2/Makefile.am
diff --git a/2.3-1/src/c/matrixOperations/spec2/Makefile.in b/2.3-1/src/c/linearAlgebra/spec2/Makefile.in
index 6e46c059..6e46c059 100644
--- a/2.3-1/src/c/matrixOperations/spec2/Makefile.in
+++ b/2.3-1/src/c/linearAlgebra/spec2/Makefile.in
diff --git a/2.3-1/src/c/matrixOperations/spec2/cspec2a.c b/2.3-1/src/c/linearAlgebra/spec2/cspec2a.c
index d3a4312f..d3a4312f 100644
--- a/2.3-1/src/c/matrixOperations/spec2/cspec2a.c
+++ b/2.3-1/src/c/linearAlgebra/spec2/cspec2a.c
diff --git a/2.3-1/src/c/matrixOperations/spec2/dspec2a.c b/2.3-1/src/c/linearAlgebra/spec2/dspec2a.c
index 98b2c5ad..98b2c5ad 100644
--- a/2.3-1/src/c/matrixOperations/spec2/dspec2a.c
+++ b/2.3-1/src/c/linearAlgebra/spec2/dspec2a.c
diff --git a/2.3-1/src/c/matrixOperations/spec2/sspec2a.c b/2.3-1/src/c/linearAlgebra/spec2/sspec2a.c
index d3ab00d5..d3ab00d5 100644
--- a/2.3-1/src/c/matrixOperations/spec2/sspec2a.c
+++ b/2.3-1/src/c/linearAlgebra/spec2/sspec2a.c
diff --git a/2.3-1/src/c/matrixOperations/spec2/testDoubleSpec2.c b/2.3-1/src/c/linearAlgebra/spec2/testDoubleSpec2.c
index a090f028..a090f028 100644
--- a/2.3-1/src/c/matrixOperations/spec2/testDoubleSpec2.c
+++ b/2.3-1/src/c/linearAlgebra/spec2/testDoubleSpec2.c
diff --git a/2.3-1/src/c/matrixOperations/spec2/testFloatSpec2.c b/2.3-1/src/c/linearAlgebra/spec2/testFloatSpec2.c
index fb2bc255..fb2bc255 100644
--- a/2.3-1/src/c/matrixOperations/spec2/testFloatSpec2.c
+++ b/2.3-1/src/c/linearAlgebra/spec2/testFloatSpec2.c
diff --git a/2.3-1/src/c/matrixOperations/spec2/test_DoubleSpec2/testDoubleSpec2.vcxproj b/2.3-1/src/c/linearAlgebra/spec2/test_DoubleSpec2/testDoubleSpec2.vcxproj
index 7c36943b..7c36943b 100644
--- a/2.3-1/src/c/matrixOperations/spec2/test_DoubleSpec2/testDoubleSpec2.vcxproj
+++ b/2.3-1/src/c/linearAlgebra/spec2/test_DoubleSpec2/testDoubleSpec2.vcxproj
diff --git a/2.3-1/src/c/matrixOperations/spec2/test_DoubleSpec2/testDoubleSpec2.vcxproj.filters b/2.3-1/src/c/linearAlgebra/spec2/test_DoubleSpec2/testDoubleSpec2.vcxproj.filters
index 04f409dc..04f409dc 100644
--- a/2.3-1/src/c/matrixOperations/spec2/test_DoubleSpec2/testDoubleSpec2.vcxproj.filters
+++ b/2.3-1/src/c/linearAlgebra/spec2/test_DoubleSpec2/testDoubleSpec2.vcxproj.filters
diff --git a/2.3-1/src/c/matrixOperations/spec2/test_FloatSpec2/testFloatSpec2.vcxproj b/2.3-1/src/c/linearAlgebra/spec2/test_FloatSpec2/testFloatSpec2.vcxproj
index f4154eb1..f4154eb1 100644
--- a/2.3-1/src/c/matrixOperations/spec2/test_FloatSpec2/testFloatSpec2.vcxproj
+++ b/2.3-1/src/c/linearAlgebra/spec2/test_FloatSpec2/testFloatSpec2.vcxproj
diff --git a/2.3-1/src/c/matrixOperations/spec2/test_FloatSpec2/testFloatSpec2.vcxproj.filters b/2.3-1/src/c/linearAlgebra/spec2/test_FloatSpec2/testFloatSpec2.vcxproj.filters
index 0c38d2f2..0c38d2f2 100644
--- a/2.3-1/src/c/matrixOperations/spec2/test_FloatSpec2/testFloatSpec2.vcxproj.filters
+++ b/2.3-1/src/c/linearAlgebra/spec2/test_FloatSpec2/testFloatSpec2.vcxproj.filters
diff --git a/2.3-1/src/c/matrixOperations/spec2/zspec2a.c b/2.3-1/src/c/linearAlgebra/spec2/zspec2a.c
index e33ed897..e33ed897 100644
--- a/2.3-1/src/c/matrixOperations/spec2/zspec2a.c
+++ b/2.3-1/src/c/linearAlgebra/spec2/zspec2a.c