summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/matrixOperations/interfaces/int_pertrans.h
diff options
context:
space:
mode:
authorBrijeshcr2017-08-10 15:05:49 +0530
committerGitHub2017-08-10 15:05:49 +0530
commit1ec65e20d266734a9471b5deaa31286793c9dc3b (patch)
tree81f1fac7d3b728c5bebb44480066eb454ec5d0f6 /2.3-1/src/c/matrixOperations/interfaces/int_pertrans.h
parentdcfc88991cdfa7f8e53607094e8d26cae399b78e (diff)
parentde496fd5c6183e2f5eba2b4688d2bcf18aef62a1 (diff)
downloadScilab2C-1ec65e20d266734a9471b5deaa31286793c9dc3b.tar.gz
Scilab2C-1ec65e20d266734a9471b5deaa31286793c9dc3b.tar.bz2
Scilab2C-1ec65e20d266734a9471b5deaa31286793c9dc3b.zip
Merge pull request #28 from abhinavdronamraju/master
Rank, G-sort added.
Diffstat (limited to '2.3-1/src/c/matrixOperations/interfaces/int_pertrans.h')
-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__*/