summaryrefslogtreecommitdiff
path: root/src/c/elementaryFunctions/interfaces
diff options
context:
space:
mode:
authorAbhinav Dronamraju2017-07-07 16:41:38 +0530
committerAbhinav Dronamraju2017-07-07 16:41:38 +0530
commit07266c6c6812d2a31db7c47b34dd32d8b57fca00 (patch)
tree36cde2b3fa013dfb530b708325bea4f78d1657f9 /src/c/elementaryFunctions/interfaces
parentd63c259a847a981daf4922be033c10b0a3f492ed (diff)
downloadScilab2C_fossee_old-07266c6c6812d2a31db7c47b34dd32d8b57fca00.tar.gz
Scilab2C_fossee_old-07266c6c6812d2a31db7c47b34dd32d8b57fca00.tar.bz2
Scilab2C_fossee_old-07266c6c6812d2a31db7c47b34dd32d8b57fca00.zip
Added isscalar
Diffstat (limited to 'src/c/elementaryFunctions/interfaces')
-rw-r--r--src/c/elementaryFunctions/interfaces/int_isiscalar.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/c/elementaryFunctions/interfaces/int_isiscalar.h b/src/c/elementaryFunctions/interfaces/int_isiscalar.h
new file mode 100644
index 0000000..9d13971
--- /dev/null
+++ b/src/c/elementaryFunctions/interfaces/int_isiscalar.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_ISROW_H__
+#define __INT_ISROW_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