summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/elementaryFunctions/isvector/sisvectora.c
diff options
context:
space:
mode:
authorAbhinav Dronamraju2017-07-14 16:30:11 +0530
committerAbhinav Dronamraju2017-07-14 16:30:11 +0530
commit3af005920a6bce61c99d26fa205794634f5ad405 (patch)
tree3cd9fdf42e364f34cf1ad20e5401664619083a5e /2.3-1/src/c/elementaryFunctions/isvector/sisvectora.c
parent8595e91e1c157f471cc359a7dd927b1e18561b2d (diff)
downloadScilab2C-3af005920a6bce61c99d26fa205794634f5ad405.tar.gz
Scilab2C-3af005920a6bce61c99d26fa205794634f5ad405.tar.bz2
Scilab2C-3af005920a6bce61c99d26fa205794634f5ad405.zip
Isvector and NNZ added
Diffstat (limited to '2.3-1/src/c/elementaryFunctions/isvector/sisvectora.c')
-rw-r--r--2.3-1/src/c/elementaryFunctions/isvector/sisvectora.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/2.3-1/src/c/elementaryFunctions/isvector/sisvectora.c b/2.3-1/src/c/elementaryFunctions/isvector/sisvectora.c
new file mode 100644
index 00000000..09ad6515
--- /dev/null
+++ b/2.3-1/src/c/elementaryFunctions/isvector/sisvectora.c
@@ -0,0 +1,23 @@
+/* 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 "isvector.h"
+#include "types.h"
+char sisvectora(float* inp, int size1)
+{
+ if(size1 ==1)
+ return 'T';
+ return 'F';
+}