summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/matrixOperations/interfaces
diff options
context:
space:
mode:
authorAbhinav Dronamraju2017-08-07 21:37:52 +0530
committerAbhinav Dronamraju2017-08-07 21:37:52 +0530
commit4e1d0ace737fbf234690dea94455e0b90c244e87 (patch)
treeef4cbc4e1653983460a9d45a1d45990ef0b8f642 /2.3-1/src/c/matrixOperations/interfaces
parent0d191f94a68921971b6b41584796f448f3ea0d91 (diff)
downloadScilab2C-4e1d0ace737fbf234690dea94455e0b90c244e87.tar.gz
Scilab2C-4e1d0ace737fbf234690dea94455e0b90c244e87.tar.bz2
Scilab2C-4e1d0ace737fbf234690dea94455e0b90c244e87.zip
Pertrans function added
Diffstat (limited to '2.3-1/src/c/matrixOperations/interfaces')
-rw-r--r--2.3-1/src/c/matrixOperations/interfaces/int_pertrans.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/2.3-1/src/c/matrixOperations/interfaces/int_pertrans.h b/2.3-1/src/c/matrixOperations/interfaces/int_pertrans.h
new file mode 100644
index 00000000..8aa8ec5e
--- /dev/null
+++ b/2.3-1/src/c/matrixOperations/interfaces/int_pertrans.h
@@ -0,0 +1,34 @@
+/* Copyright (C) 2016 - 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: Abhinav Dronamraju
+ Organization: FOSSEE, IIT Bombay
+ Email: toolbox@scilab.in
+*/
+
+#ifndef __INT_PERTRANS_H__
+#define __INT_PERTRANS_H__
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define d2pertransd2(in1, size, out) dpertransa(in1, size[0], size[1], out)
+#define d0pertransd0(in1) dpertranss(in1)
+
+#define s2pertranss2(in1, size, out) spertransa(in1, size[0], size[1], out)
+#define s0pertranss0(in1) spertranss(in1)
+
+#define z2pertransz2(in1, size, out) zpertransa(in1, size[0], size[1], out)
+#define z0pertransz0(in1) zpertranss(in1)
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+#endif /*__INT_PERTRANS_H__*/