summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/elementaryFunctions/includes/cos.h
diff options
context:
space:
mode:
authorsiddhu89902015-08-20 01:20:26 +0530
committersiddhu89902015-08-20 01:20:26 +0530
commit5675f7cd91515d5e88fd151943c3ec5cde57ceaa (patch)
tree5aee663edf5083cfc098f7a0b5f34eb7a61c26b1 /2.3-1/src/c/elementaryFunctions/includes/cos.h
parent89454b3f15e24291e4941a44a4d8870d2d4d5727 (diff)
downloadScilab2C-5675f7cd91515d5e88fd151943c3ec5cde57ceaa.tar.gz
Scilab2C-5675f7cd91515d5e88fd151943c3ec5cde57ceaa.tar.bz2
Scilab2C-5675f7cd91515d5e88fd151943c3ec5cde57ceaa.zip
Support for disp added
Diffstat (limited to '2.3-1/src/c/elementaryFunctions/includes/cos.h')
-rw-r--r--2.3-1/src/c/elementaryFunctions/includes/cos.h57
1 files changed, 57 insertions, 0 deletions
diff --git a/2.3-1/src/c/elementaryFunctions/includes/cos.h b/2.3-1/src/c/elementaryFunctions/includes/cos.h
index 5d573b1e..25c76945 100644
--- a/2.3-1/src/c/elementaryFunctions/includes/cos.h
+++ b/2.3-1/src/c/elementaryFunctions/includes/cos.h
@@ -16,6 +16,7 @@
#include "dynlib_elementaryfunctions.h"
#include "floatComplex.h"
#include "doubleComplex.h"
+#include "types.h"
#ifdef __cplusplus
extern "C" {
@@ -49,6 +50,30 @@ EXTERN_ELEMFUNCT floatComplex ccoss(floatComplex in);
EXTERN_ELEMFUNCT doubleComplex zcoss(doubleComplex in);
/*
+** \brief Uint8 Cosine function
+** \param in : input value.
+*/
+EXTERN_ELEMFUNCT float u8coss(uint8 in);
+
+/*
+** \brief Int8 Cosine function
+** \param in : input value.
+*/
+EXTERN_ELEMFUNCT float i8coss(int8 in);
+
+/*
+** \brief Uint16 Cosine function
+** \param in : input value.
+*/
+EXTERN_ELEMFUNCT float u16coss(uint16 in);
+
+/*
+** \brief Int8 Cosine function
+** \param in : input value.
+*/
+EXTERN_ELEMFUNCT float i16coss(int16 in);
+
+/*
** \brief Float Matrix Cosine function
** \param in : input array value.
** \param out : output array value.
@@ -80,6 +105,38 @@ EXTERN_ELEMFUNCT void ccosa(floatComplex* in, int size, floatComplex* out);
*/
EXTERN_ELEMFUNCT void zcosa(doubleComplex* in, int size, doubleComplex* out);
+/*
+** \brief uint8 Matrix Cosine function
+** \param in : input array value.
+** \param out : output array value.
+** \param size : the size of in and out arrays.
+*/
+EXTERN_ELEMFUNCT void u8cosa(uint8* in, int size, float* out);
+
+/*
+** \brief int8 Matrix Cosine function
+** \param in : input array value.
+** \param out : output array value.
+** \param size : the size of in and out arrays.
+*/
+EXTERN_ELEMFUNCT void i8cosa(int8* in, int size, float* out);
+
+/*
+** \brief uint16 Matrix Cosine function
+** \param in : input array value.
+** \param out : output array value.
+** \param size : the size of in and out arrays.
+*/
+EXTERN_ELEMFUNCT void u16cosa(uint16* in, int size, float* out);
+
+/*
+** \brief int16 Matrix Cosine function
+** \param in : input array value.
+** \param out : output array value.
+** \param size : the size of in and out arrays.
+*/
+EXTERN_ELEMFUNCT void i16cosa(int16* in, int size, float* out);
+
#ifdef __cplusplus
} /* extern "C" */
#endif