summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/elementaryFunctions/isrow
diff options
context:
space:
mode:
authorAbhinav Dronamraju2017-07-05 22:45:06 +0530
committerAbhinav Dronamraju2017-07-05 22:45:06 +0530
commitc111a521e7c8d31b4e0e45cb345bbdabc5c5f7ad (patch)
tree0bbcaee38841e2d35c5e6ee1eca57a31e4c5df49 /2.3-1/src/c/elementaryFunctions/isrow
parent3308ea7a973e2c1e1c8bea99ac7cc783ce8e8b06 (diff)
downloadScilab2C-c111a521e7c8d31b4e0e45cb345bbdabc5c5f7ad.tar.gz
Scilab2C-c111a521e7c8d31b4e0e45cb345bbdabc5c5f7ad.tar.bz2
Scilab2C-c111a521e7c8d31b4e0e45cb345bbdabc5c5f7ad.zip
added isrow
Diffstat (limited to '2.3-1/src/c/elementaryFunctions/isrow')
-rw-r--r--2.3-1/src/c/elementaryFunctions/isrow/disrowa.c26
-rw-r--r--2.3-1/src/c/elementaryFunctions/isrow/disrows.c24
-rw-r--r--2.3-1/src/c/elementaryFunctions/isrow/gisrowa.c27
-rw-r--r--2.3-1/src/c/elementaryFunctions/isrow/sisrowa.c26
-rw-r--r--2.3-1/src/c/elementaryFunctions/isrow/sisrows.c24
5 files changed, 127 insertions, 0 deletions
diff --git a/2.3-1/src/c/elementaryFunctions/isrow/disrowa.c b/2.3-1/src/c/elementaryFunctions/isrow/disrowa.c
new file mode 100644
index 00000000..8bb7e5ff
--- /dev/null
+++ b/2.3-1/src/c/elementaryFunctions/isrow/disrowa.c
@@ -0,0 +1,26 @@
+/* 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
+*/
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <math.h>
+#include "isrow.h"
+#include "types.h"
+double disrowa(double* inp, int size1)
+{
+ double out=0;
+ if(size1==1)
+ {
+ out = 1;
+ }
+ return out;
+}
diff --git a/2.3-1/src/c/elementaryFunctions/isrow/disrows.c b/2.3-1/src/c/elementaryFunctions/isrow/disrows.c
new file mode 100644
index 00000000..35756c19
--- /dev/null
+++ b/2.3-1/src/c/elementaryFunctions/isrow/disrows.c
@@ -0,0 +1,24 @@
+/* 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
+*/
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <math.h>
+#include "isrow.h"
+#include "types.h"
+
+double disrows(double inp)
+{
+ double out=1;
+
+ return out;
+}
diff --git a/2.3-1/src/c/elementaryFunctions/isrow/gisrowa.c b/2.3-1/src/c/elementaryFunctions/isrow/gisrowa.c
new file mode 100644
index 00000000..dd16a9f9
--- /dev/null
+++ b/2.3-1/src/c/elementaryFunctions/isrow/gisrowa.c
@@ -0,0 +1,27 @@
+/* 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
+*/
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <math.h>
+#include "isrow.h"
+#include "types.h"
+#include "string.h"
+double gisrowa(char *inp, int size1)
+{
+ double out=0;
+ if(size1==1)
+ {
+ out = 1;
+ }
+ return out;
+}
diff --git a/2.3-1/src/c/elementaryFunctions/isrow/sisrowa.c b/2.3-1/src/c/elementaryFunctions/isrow/sisrowa.c
new file mode 100644
index 00000000..cfbc218c
--- /dev/null
+++ b/2.3-1/src/c/elementaryFunctions/isrow/sisrowa.c
@@ -0,0 +1,26 @@
+/* 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
+*/
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <math.h>
+#include "isrow.h"
+#include "types.h"
+double sisrowa(float* inp, int size1)
+{
+ double out=0;
+ if(size1==1)
+ {
+ out = 1;
+ }
+ return out;
+}
diff --git a/2.3-1/src/c/elementaryFunctions/isrow/sisrows.c b/2.3-1/src/c/elementaryFunctions/isrow/sisrows.c
new file mode 100644
index 00000000..34694c9b
--- /dev/null
+++ b/2.3-1/src/c/elementaryFunctions/isrow/sisrows.c
@@ -0,0 +1,24 @@
+/* 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
+*/
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <math.h>
+#include "isrow.h"
+#include "types.h"
+
+double disrows(float inp)
+{
+ double out=1;
+
+ return out;
+}