From c111a521e7c8d31b4e0e45cb345bbdabc5c5f7ad Mon Sep 17 00:00:00 2001 From: Abhinav Dronamraju Date: Wed, 5 Jul 2017 22:45:06 +0530 Subject: added isrow --- 2.3-1/src/c/elementaryFunctions/isrow/gisrowa.c | 27 +++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 2.3-1/src/c/elementaryFunctions/isrow/gisrowa.c (limited to '2.3-1/src/c/elementaryFunctions/isrow/gisrowa.c') 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 +#include +#include +#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; +} -- cgit From 8e1f51d26a86b2f92e9fd17197834172bd4fa929 Mon Sep 17 00:00:00 2001 From: Abhinav Dronamraju Date: Thu, 6 Jul 2017 15:45:03 +0530 Subject: Added isrow entirely --- 2.3-1/src/c/elementaryFunctions/isrow/gisrowa.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '2.3-1/src/c/elementaryFunctions/isrow/gisrowa.c') diff --git a/2.3-1/src/c/elementaryFunctions/isrow/gisrowa.c b/2.3-1/src/c/elementaryFunctions/isrow/gisrowa.c index dd16a9f9..c62350fc 100644 --- a/2.3-1/src/c/elementaryFunctions/isrow/gisrowa.c +++ b/2.3-1/src/c/elementaryFunctions/isrow/gisrowa.c @@ -16,12 +16,12 @@ #include "isrow.h" #include "types.h" #include "string.h" -double gisrowa(char *inp, int size1) +char gisrowa(char *inp, int size1) { - double out=0; + char out='F'; if(size1==1) { - out = 1; + out = 'T'; } return out; } -- cgit