diff options
author | Abhinav Dronamraju | 2017-07-06 21:21:25 +0530 |
---|---|---|
committer | Abhinav Dronamraju | 2017-07-06 21:21:25 +0530 |
commit | a2e6f747c6f726d599227d2caf251f6f1ba14bdc (patch) | |
tree | 71016ba1785ff3f32014f530164d1c0ed7fba93f /2.3-1/src/c/elementaryFunctions/iscolumn | |
parent | c36a5a2047028596381d337b4245ff07a9e37645 (diff) | |
download | Scilab2C-a2e6f747c6f726d599227d2caf251f6f1ba14bdc.tar.gz Scilab2C-a2e6f747c6f726d599227d2caf251f6f1ba14bdc.tar.bz2 Scilab2C-a2e6f747c6f726d599227d2caf251f6f1ba14bdc.zip |
Added Iscolumn
Diffstat (limited to '2.3-1/src/c/elementaryFunctions/iscolumn')
8 files changed, 204 insertions, 0 deletions
diff --git a/2.3-1/src/c/elementaryFunctions/iscolumn/discolumna.c b/2.3-1/src/c/elementaryFunctions/iscolumn/discolumna.c new file mode 100644 index 00000000..8bebfcad --- /dev/null +++ b/2.3-1/src/c/elementaryFunctions/iscolumn/discolumna.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 "iscolumn.h" +#include "types.h" +char discolumna(double* inp, int size1) +{ + char out= 'F' ; + if(size1==1) + { + out = 'T'; + } + return out; +} diff --git a/2.3-1/src/c/elementaryFunctions/iscolumn/discolumns.c b/2.3-1/src/c/elementaryFunctions/iscolumn/discolumns.c new file mode 100644 index 00000000..b81074b5 --- /dev/null +++ b/2.3-1/src/c/elementaryFunctions/iscolumn/discolumns.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 "iscolumn.h" +#include "types.h" + +char discolumns(double inp) +{ + char out='T'; + + return out; +} diff --git a/2.3-1/src/c/elementaryFunctions/iscolumn/giscolumna.c b/2.3-1/src/c/elementaryFunctions/iscolumn/giscolumna.c new file mode 100644 index 00000000..db6ff431 --- /dev/null +++ b/2.3-1/src/c/elementaryFunctions/iscolumn/giscolumna.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 "iscolumn.h" +#include "types.h" +#include "string.h" +char giscolumna(char *inp, int size1) +{ + char out='F'; + if(size1==1) + { + out = 'T'; + } + return out; +} diff --git a/2.3-1/src/c/elementaryFunctions/iscolumn/giscolumns.c b/2.3-1/src/c/elementaryFunctions/iscolumn/giscolumns.c new file mode 100644 index 00000000..57b93e95 --- /dev/null +++ b/2.3-1/src/c/elementaryFunctions/iscolumn/giscolumns.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 "iscolumn.h" +#include "types.h" + +char giscolumns(char inp) +{ + char out='T'; + + return out; +} diff --git a/2.3-1/src/c/elementaryFunctions/iscolumn/siscolumna.c b/2.3-1/src/c/elementaryFunctions/iscolumn/siscolumna.c new file mode 100644 index 00000000..ed4ee5b9 --- /dev/null +++ b/2.3-1/src/c/elementaryFunctions/iscolumn/siscolumna.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 "iscolumn.h" +#include "types.h" +char siscolumna(float* inp, int size1) +{ + char out='F'; + if(size1==1) + { + out = 'T'; + } + return out; +} diff --git a/2.3-1/src/c/elementaryFunctions/iscolumn/siscolumns.c b/2.3-1/src/c/elementaryFunctions/iscolumn/siscolumns.c new file mode 100644 index 00000000..ebb89e11 --- /dev/null +++ b/2.3-1/src/c/elementaryFunctions/iscolumn/siscolumns.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 "iscolumn.h" +#include "types.h" + +char siscolumns(float inp) +{ + char out='T'; + + return out; +} diff --git a/2.3-1/src/c/elementaryFunctions/iscolumn/ziscolumna.c b/2.3-1/src/c/elementaryFunctions/iscolumn/ziscolumna.c new file mode 100644 index 00000000..a1aca1bf --- /dev/null +++ b/2.3-1/src/c/elementaryFunctions/iscolumn/ziscolumna.c @@ -0,0 +1,28 @@ +/* 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 "doubleComplex.h" +#include "iscolumn.h" +#include "types.h" + +char ziscolumna(doubleComplex *inp, int size1) +{ + char out='F'; + if(size1==1) + { + out = 'T'; + } + return out; +} diff --git a/2.3-1/src/c/elementaryFunctions/iscolumn/ziscolumns.c b/2.3-1/src/c/elementaryFunctions/iscolumn/ziscolumns.c new file mode 100644 index 00000000..f1d28508 --- /dev/null +++ b/2.3-1/src/c/elementaryFunctions/iscolumn/ziscolumns.c @@ -0,0 +1,25 @@ +/* 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 "iscolumn.h" +#include "types.h" +#include "doubleComplex.h" + +char ziscolumns(doubleComplex inp) +{ + char out='T'; + + return out; +} |