summaryrefslogtreecommitdiff
path: root/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
commitff2e111f068342863fc3ca66f40f5822d0b19415 (patch)
treefca903d20f537df38a0c3039dc4a2c2c9f99d6be /src/c/matrixOperations/interfaces
parentcdd9b1eb4471ee2d4bf14b020ae97803ffc29702 (diff)
downloadScilab2C_fossee_old-ff2e111f068342863fc3ca66f40f5822d0b19415.tar.gz
Scilab2C_fossee_old-ff2e111f068342863fc3ca66f40f5822d0b19415.tar.bz2
Scilab2C_fossee_old-ff2e111f068342863fc3ca66f40f5822d0b19415.zip
Pertrans function added
Diffstat (limited to 'src/c/matrixOperations/interfaces')
-rw-r--r--src/c/matrixOperations/interfaces/int_pertrans.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/c/matrixOperations/interfaces/int_pertrans.h b/src/c/matrixOperations/interfaces/int_pertrans.h
new file mode 100644
index 0000000..8aa8ec5
--- /dev/null
+++ b/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__*/