summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/elementaryFunctions/interfaces
diff options
context:
space:
mode:
authorBrijeshcr2017-08-08 18:55:55 +0530
committerBrijeshcr2017-08-08 18:55:55 +0530
commit60dc24077bf42ddf1b8973915350dfabdf5b040a (patch)
tree686fbd12c59335059a1c9cd5136428ba6e3f6126 /2.3-1/src/c/elementaryFunctions/interfaces
parent3633223e4816948c61e107f4fb18eb193c0add27 (diff)
downloadScilab2C-60dc24077bf42ddf1b8973915350dfabdf5b040a.tar.gz
Scilab2C-60dc24077bf42ddf1b8973915350dfabdf5b040a.tar.bz2
Scilab2C-60dc24077bf42ddf1b8973915350dfabdf5b040a.zip
Added Sind and Tand
Diffstat (limited to '2.3-1/src/c/elementaryFunctions/interfaces')
-rw-r--r--2.3-1/src/c/elementaryFunctions/interfaces/int_sind.h23
-rw-r--r--2.3-1/src/c/elementaryFunctions/interfaces/int_tand.h23
2 files changed, 46 insertions, 0 deletions
diff --git a/2.3-1/src/c/elementaryFunctions/interfaces/int_sind.h b/2.3-1/src/c/elementaryFunctions/interfaces/int_sind.h
new file mode 100644
index 00000000..780a6965
--- /dev/null
+++ b/2.3-1/src/c/elementaryFunctions/interfaces/int_sind.h
@@ -0,0 +1,23 @@
+ /* Copyright (C) 2017 - 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: Brijesh Gupta C R
+ Organization: FOSSEE, IIT Bombay
+ Email: toolbox@scilab.in
+ */
+
+#ifndef __INT_SIND_H__
+#define __INT_SIND_H__
+
+#define d0sindd0(in) dsinds(in)
+#define s0sinds0(in) ssinds(in)
+#define s0sindd0(in) ssinds(in)
+#define d2sindd2(in, size1, out) dsinda(in, size1[0]*size1[1], out)
+#define s2sinds2(in, size1, out) ssinda(in, size1[0]*size1[1], out)
+#define s2sindd2(in, size1, out) ssinda(in, size1[0]*size1[1], out)
+
+#endif /* !__INT_SIND_H__ */
diff --git a/2.3-1/src/c/elementaryFunctions/interfaces/int_tand.h b/2.3-1/src/c/elementaryFunctions/interfaces/int_tand.h
new file mode 100644
index 00000000..d2fb30ea
--- /dev/null
+++ b/2.3-1/src/c/elementaryFunctions/interfaces/int_tand.h
@@ -0,0 +1,23 @@
+ /* Copyright (C) 2017 - 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: Brijesh Gupta C R
+ Organization: FOSSEE, IIT Bombay
+ Email: toolbox@scilab.in
+ */
+
+#ifndef __INT_TAND_H__
+#define __INT_TAND_H__
+
+#define d0tandd0(in) dtands(in)
+#define s0tands0(in) stands(in)
+#define s0tandd0(in) stands(in)
+#define d2tandd2(in, size1, out) dtanda(in, size1[0]*size1[1], out)
+#define s2tands2(in, size1, out) standa(in, size1[0]*size1[1], out)
+#define s2tandd2(in, size1, out) standa(in, size1[0]*size1[1], out)
+
+#endif /* !__INT_TAND_H__ */