summaryrefslogtreecommitdiff
path: root/src/c/linearAlgebra/interfaces/int_svd.h
diff options
context:
space:
mode:
authorsiddhu89902017-06-21 15:51:35 +0530
committersiddhu89902017-06-21 15:51:35 +0530
commit2c3b9e1055c8c9dfe874df3b7743c4a765042316 (patch)
treeb3df485fe31ad42fde9bb20d553c162c94f27b08 /src/c/linearAlgebra/interfaces/int_svd.h
parent7dd99346700740df9480b1f47221e24afc32371d (diff)
parentd8c9e974d3ce553198b487dadc51c7612e92de85 (diff)
downloadscilab2c-2c3b9e1055c8c9dfe874df3b7743c4a765042316.tar.gz
scilab2c-2c3b9e1055c8c9dfe874df3b7743c4a765042316.tar.bz2
scilab2c-2c3b9e1055c8c9dfe874df3b7743c4a765042316.zip
Merged new linear algebra functions
Diffstat (limited to 'src/c/linearAlgebra/interfaces/int_svd.h')
-rw-r--r--src/c/linearAlgebra/interfaces/int_svd.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/c/linearAlgebra/interfaces/int_svd.h b/src/c/linearAlgebra/interfaces/int_svd.h
new file mode 100644
index 00000000..449ee741
--- /dev/null
+++ b/src/c/linearAlgebra/interfaces/int_svd.h
@@ -0,0 +1,31 @@
+ /* 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
+ */
+
+#ifndef __INT_SVD_H__
+#define __INT_SVD_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define d2svdd2(in1,size1,out1) dsvda(in1,size1[0],size1[1],0,1,out1,NULL,NULL)
+#define d2g2svdd2d2d2(in1,size1,in2,size2,out1,out2,out3) dsvda(in1,size1[0],size1[1],1,3,out1,out2,out3);
+#define d2svdd2d2d2(in1,size1,out1,out2,out3) dsvda(in1,size1[0],size1[1],0,3,out1,out2,out3);
+#define z2svdz2(in1,size1,out2) zsvda(in1,size1[0],size1[1],0,1,NULL,out2,NULL);
+#define z2g2svdz2z2z2(in1,size1,in2,size2,out1,out2,out3) zsvda(in1,size1[0],size1[1],1,3,out1,out2,out3);
+#define z2svdz2z2z2(in1,size1,out1,out2,out3) zsvda(in1,size1[0],size1[1],0,3,out1,out2,out3);
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+#endif /*__INT_SVD_H__*/