summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/elementaryFunctions/includes
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/includes
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/includes')
-rw-r--r--2.3-1/src/c/elementaryFunctions/includes/sind.h37
-rw-r--r--2.3-1/src/c/elementaryFunctions/includes/tand (copy).h37
-rw-r--r--2.3-1/src/c/elementaryFunctions/includes/tand.h37
3 files changed, 111 insertions, 0 deletions
diff --git a/2.3-1/src/c/elementaryFunctions/includes/sind.h b/2.3-1/src/c/elementaryFunctions/includes/sind.h
new file mode 100644
index 00000000..d98bd683
--- /dev/null
+++ b/2.3-1/src/c/elementaryFunctions/includes/sind.h
@@ -0,0 +1,37 @@
+ /* 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 __SIND_H__
+#define __SIND_H__
+
+#include "dynlib_elementaryfunctions.h"
+#include "floatComplex.h"
+#include "doubleComplex.h"
+#include "types.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+double dsinds(double x);
+float ssinds(float x);
+void dsinda(double* x, int size, double* y);
+void ssinda(float* x, int size, double* y);
+
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+
+#endif /* !__SIND_H__ */
+
diff --git a/2.3-1/src/c/elementaryFunctions/includes/tand (copy).h b/2.3-1/src/c/elementaryFunctions/includes/tand (copy).h
new file mode 100644
index 00000000..918d43ab
--- /dev/null
+++ b/2.3-1/src/c/elementaryFunctions/includes/tand (copy).h
@@ -0,0 +1,37 @@
+ /* 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 __TAND_H__
+#define __TAND_H__
+
+#include "dynlib_elementaryfunctions.h"
+#include "floatComplex.h"
+#include "doubleComplex.h"
+#include "types.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+double dtands(double x);
+float stands(float x);
+void dtanda(double* x, int size, double* y);
+void standa(float* x, int size, double* y);
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+
+#endif /* !__TAND_H__ */
+
diff --git a/2.3-1/src/c/elementaryFunctions/includes/tand.h b/2.3-1/src/c/elementaryFunctions/includes/tand.h
new file mode 100644
index 00000000..918d43ab
--- /dev/null
+++ b/2.3-1/src/c/elementaryFunctions/includes/tand.h
@@ -0,0 +1,37 @@
+ /* 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 __TAND_H__
+#define __TAND_H__
+
+#include "dynlib_elementaryfunctions.h"
+#include "floatComplex.h"
+#include "doubleComplex.h"
+#include "types.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+double dtands(double x);
+float stands(float x);
+void dtanda(double* x, int size, double* y);
+void standa(float* x, int size, double* y);
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+
+#endif /* !__TAND_H__ */
+