summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/matrixOperations/interfaces
diff options
context:
space:
mode:
authorBrijeshcr2017-07-11 20:08:54 +0530
committerBrijeshcr2017-07-11 20:08:54 +0530
commit54646786e8d89820b4c4bd4f7606fe5fdf818687 (patch)
tree02b4e315f9369aee1a4cadac9375ee18b157a3a9 /2.3-1/src/c/matrixOperations/interfaces
parent5774ee3f40eed7ba48f427db3e4bc35fcbfac1c4 (diff)
downloadScilab2C-54646786e8d89820b4c4bd4f7606fe5fdf818687.tar.gz
Scilab2C-54646786e8d89820b4c4bd4f7606fe5fdf818687.tar.bz2
Scilab2C-54646786e8d89820b4c4bd4f7606fe5fdf818687.zip
Cross Added
Diffstat (limited to '2.3-1/src/c/matrixOperations/interfaces')
-rw-r--r--2.3-1/src/c/matrixOperations/interfaces/int_cross.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/2.3-1/src/c/matrixOperations/interfaces/int_cross.h b/2.3-1/src/c/matrixOperations/interfaces/int_cross.h
new file mode 100644
index 00000000..8f4e7824
--- /dev/null
+++ b/2.3-1/src/c/matrixOperations/interfaces/int_cross.h
@@ -0,0 +1,35 @@
+ /* 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: Brijesh Gupta C R
+ Organization: FOSSEE, IIT Bombay
+ Email: toolbox@scilab.in
+ */
+#ifndef __INT_CROSS_H__
+#define __INT_CROSS_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+
+#define d2d2crossd2(in1,size1,in2,size2,out) dcrossa(in1,size1[0],size1[1],in2,size2[0],size2[1],out)
+#define z2z2crossz2(in1,size1,in2,size2,out) zcrossa(in1,size1[0],size1[1],in2,size2[0],size2[1],out)
+#define c2c2crossc2(in1,size1,in2,size2,out) ccrossa(in1,size1[0],size1[1],in2,size2[0],size2[1],out)
+#define s2s2crosss2(in1,size1,in2,size2,out) scrossa(in1,size1[0],size1[1],in2,size2[0],size2[1],out)
+#define u82u82crossu82(in1,size1,in2,size2,out) u8crossa(in1,size1[0],size1[1],in2,size2[0],size2[1],out)
+#define i82i82crossi82(in1,size1,in2,size2,out) i8crossa(in1,size1[0],size1[1],in2,size2[0],size2[1],out)
+#define u162u162crossu162(in1,size1,in2,size2,out) u16crossa(in1,size1[0],size1[1],in2,size2[0],size2[1],out)
+#define i162i162crossi162(in1,size1,in2,size2,out) i16crossa(in1,size1[0],size1[1],in2,size2[0],size2[1],out)
+
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+#endif /*__INT_CROSS_H__*/