summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/elementaryFunctions/interfaces
diff options
context:
space:
mode:
authorBrijeshcr2017-07-10 16:43:41 +0530
committerGitHub2017-07-10 16:43:41 +0530
commitf55e3c1bd4f625f040030f398bb4501ae91d494e (patch)
tree7c640be3517f4f56496f9fb4a4a0e41595343413 /2.3-1/src/c/elementaryFunctions/interfaces
parent2e9eadc75e51483c41a30544496b4e05c0cf7c41 (diff)
parent5251462fbf83e953cd193eda3c639eee5c14d768 (diff)
downloadScilab2C-f55e3c1bd4f625f040030f398bb4501ae91d494e.tar.gz
Scilab2C-f55e3c1bd4f625f040030f398bb4501ae91d494e.tar.bz2
Scilab2C-f55e3c1bd4f625f040030f398bb4501ae91d494e.zip
Merge pull request #15 from abhinavdronamraju/master
Added new functions
Diffstat (limited to '2.3-1/src/c/elementaryFunctions/interfaces')
-rw-r--r--2.3-1/src/c/elementaryFunctions/interfaces/int_iscolumn.h29
-rw-r--r--2.3-1/src/c/elementaryFunctions/interfaces/int_ismatrix.h26
-rw-r--r--2.3-1/src/c/elementaryFunctions/interfaces/int_isrow.h29
-rw-r--r--2.3-1/src/c/elementaryFunctions/interfaces/int_isscalar.h26
-rw-r--r--2.3-1/src/c/elementaryFunctions/interfaces/int_issquare.h25
-rw-r--r--2.3-1/src/c/elementaryFunctions/interfaces/int_nthroot.h23
6 files changed, 158 insertions, 0 deletions
diff --git a/2.3-1/src/c/elementaryFunctions/interfaces/int_iscolumn.h b/2.3-1/src/c/elementaryFunctions/interfaces/int_iscolumn.h
new file mode 100644
index 00000000..e1011d72
--- /dev/null
+++ b/2.3-1/src/c/elementaryFunctions/interfaces/int_iscolumn.h
@@ -0,0 +1,29 @@
+ /*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_ISCOLUMN_H__
+#define __INT_ISCOLUMN_H__
+
+#define d2iscolumng0(in,size ) discolumna(in, size[1])
+#define d0iscolumng0(in) discolumns(in)
+#define s2iscolumng0(in,size) siscolumna(in, size[1])
+#define s0iscolumng0(in) siscolumns(in)
+#define g2iscolumng0(in,size) giscolumna(in, size[1])
+#define g0iscolumng0(in) giscolumns(in)
+#define z2iscolumng0(in,size) ziscolumna(in , size[1])
+#define z0iscolumng0(in) ziscolumns(in)
+#define u162iscolumng0(in,size) u16iscolumna(in , size[1])
+#define u160iscolumng0(in) u16iscolumns(in)
+
+
+
+#endif
diff --git a/2.3-1/src/c/elementaryFunctions/interfaces/int_ismatrix.h b/2.3-1/src/c/elementaryFunctions/interfaces/int_ismatrix.h
new file mode 100644
index 00000000..56dfc856
--- /dev/null
+++ b/2.3-1/src/c/elementaryFunctions/interfaces/int_ismatrix.h
@@ -0,0 +1,26 @@
+ /*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_ISMATRIX_H__
+#define __INT_ISMATRIX_H__
+
+#define d2ismatrixg0(in, size ) dismatrixa(in)
+#define d0ismatrixg0(in) dismatrixs(in)
+#define s2ismatrixg0(in , size) sismatrixa(in)
+#define s0ismatrixg0(in) sismatrixs(in)
+#define g2ismatrixg0(in, size) gismatrixa(in)
+#define g0ismatrixg0(in) gismatrixs(in)
+#define z2ismatrixg0(in, size) zismatrixa(in)
+#define z0ismatrixg0(in) zismatrixs(in)
+
+
+#endif
diff --git a/2.3-1/src/c/elementaryFunctions/interfaces/int_isrow.h b/2.3-1/src/c/elementaryFunctions/interfaces/int_isrow.h
new file mode 100644
index 00000000..9298de9d
--- /dev/null
+++ b/2.3-1/src/c/elementaryFunctions/interfaces/int_isrow.h
@@ -0,0 +1,29 @@
+ /*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_ISROW_H__
+#define __INT_ISROW_H__
+
+#define d2isrowg0(in, size ) disrowa(in, size[0])
+#define d0isrowg0(in) disrows(in)
+#define s2isrowg0(in , size) sisrowa(in, size[0])
+#define s0isrowg0(in) sisrows(in)
+#define g2isrowg0(in, size) gisrowa(in, size[0])
+#define g0isrowg0(in) gisrows(in)
+#define z2isrowg0(in, size) zisrowa(in , size[0])
+#define z0isrowg0(in) zisrows(in)
+#define u162isrowg0(in, size) u16isrowa(in , size[0])
+#define u160isrowg0(in) u16isrows(in)
+
+
+
+#endif
diff --git a/2.3-1/src/c/elementaryFunctions/interfaces/int_isscalar.h b/2.3-1/src/c/elementaryFunctions/interfaces/int_isscalar.h
new file mode 100644
index 00000000..0b25be12
--- /dev/null
+++ b/2.3-1/src/c/elementaryFunctions/interfaces/int_isscalar.h
@@ -0,0 +1,26 @@
+ /*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_ISSCALAR_H__
+#define __INT_ISSCALAR_H__
+
+#define d2isscalarg0(in, size ) disscalara(in, size[0])
+#define d0isscalarg0(in) disscalars(in)
+#define s2isscalarg0(in , size) sisscalara(in, size[0])
+#define s0isscalarg0(in) sisscalars(in)
+#define g2isscalarg0(in, size) gisscalara(in, size[0])
+#define g0isscalarg0(in) gisscalars(in)
+#define z2isscalarg0(in, size) zisscalara(in , size[0])
+#define z0isscalarg0(in) zisscalars(in)
+
+
+#endif
diff --git a/2.3-1/src/c/elementaryFunctions/interfaces/int_issquare.h b/2.3-1/src/c/elementaryFunctions/interfaces/int_issquare.h
new file mode 100644
index 00000000..05357881
--- /dev/null
+++ b/2.3-1/src/c/elementaryFunctions/interfaces/int_issquare.h
@@ -0,0 +1,25 @@
+ /*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_ISSQUARE_H__
+#define __INT_ISSQUARE_H__
+
+#define d2issquareg0(in, size ) dissquarea(in, size[0], size[1])
+#define d0issquareg0(in) dissquares(in)
+#define s2issquareg0(in , size) sissquarea(in, size[0], size[1])
+#define s0issquareg0(in) sissquares(in)
+#define g2issquareg0(in, size) gissquarea(in, size[0], size[1])
+#define g0issquareg0(in) gissquares(in)
+#define z2issquareg0(in, size) zissquarea(in , size[0], size[1])
+#define z0issquareg0(in) zissquares(in)
+
+#endif
diff --git a/2.3-1/src/c/elementaryFunctions/interfaces/int_nthroot.h b/2.3-1/src/c/elementaryFunctions/interfaces/int_nthroot.h
new file mode 100644
index 00000000..aa48fcc9
--- /dev/null
+++ b/2.3-1/src/c/elementaryFunctions/interfaces/int_nthroot.h
@@ -0,0 +1,23 @@
+ /*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_NTHROOT_H__
+#define __INT_NTHROOT_H__
+
+#define d2d2nthrootd2(in1, size1, in2, size2, out) dnthroota(in1, size1[0], size1[1], in2, size2[0], size2[1], out)
+#define d2d0nthrootd2(in1, size1, in2, out) dnthroot1a(in1, size1[0], size1[1], in2, out)
+#define d0d0nthrootd0(in1, in2) dnthroots(in1, in2)
+#define s2s2nthrootd2(in1, size1, in2, size2, out) snthroota(in1, size1[0], size1[1], in2, size2[0], size2[1], out)
+#define s2s0nthrootd2(in1, size1, in2, out) snthroot1a(in1, size1[0], size1[1], in2, out)
+#define s0s0nthrootd0(in1, in2) snthroots(in1, in2)
+
+#endif