summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/auxiliaryFunctions/includes/rand.h
diff options
context:
space:
mode:
authorimushir2016-01-18 11:47:44 +0530
committerimushir2016-01-18 11:47:44 +0530
commitbcb2bf1c014a1078f4306cd0111f4e596fe934ce (patch)
tree2aaae4926f8354f89b2061599d62b5d650e1535e /2.3-1/src/c/auxiliaryFunctions/includes/rand.h
parent03a27e6884942182e984433fd2ebba7e5f55a4d9 (diff)
downloadScilab2C-bcb2bf1c014a1078f4306cd0111f4e596fe934ce.tar.gz
Scilab2C-bcb2bf1c014a1078f4306cd0111f4e596fe934ce.tar.bz2
Scilab2C-bcb2bf1c014a1078f4306cd0111f4e596fe934ce.zip
added support for uin8,uint16,int8,int16 and not in GeneratedSetup.sci,u8cmd_digital_outs.c,getAllInterfaces.sci,getAllHeaders.sci
Diffstat (limited to '2.3-1/src/c/auxiliaryFunctions/includes/rand.h')
-rw-r--r--2.3-1/src/c/auxiliaryFunctions/includes/rand.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/2.3-1/src/c/auxiliaryFunctions/includes/rand.h b/2.3-1/src/c/auxiliaryFunctions/includes/rand.h
index 4716cbba..d032a124 100644
--- a/2.3-1/src/c/auxiliaryFunctions/includes/rand.h
+++ b/2.3-1/src/c/auxiliaryFunctions/includes/rand.h
@@ -17,6 +17,7 @@
#include "dynlib_auxiliaryfunctions.h"
#include "floatComplex.h"
#include "doubleComplex.h"
+#include "types.h"
#ifdef __cplusplus
extern "C" {
@@ -46,6 +47,35 @@ EXTERN_AUXFUNCT floatComplex crands(void);
**/
EXTERN_AUXFUNCT doubleComplex zrands(void);
+
+/**
+ ** \brief uint8 Rand function
+ ** \return A random double.
+ **/
+EXTERN_AUXFUNCT double u8rands(void);
+
+
+/**
+ ** \brief uint16 Rand function
+ ** \return A random double.
+ **/
+EXTERN_AUXFUNCT double u16rands(void);
+
+
+/**
+ ** \brief int8 Rand function
+ ** \return A random double.
+ **/
+EXTERN_AUXFUNCT double i8rands(void);
+
+
+/**
+ ** \brief int16 Rand function
+ ** \return A random double.
+ **/
+EXTERN_AUXFUNCT double i16rands(void);
+
+
/**
** \brief Float Array Rand function
** \return A random float array.
@@ -70,6 +100,32 @@ EXTERN_AUXFUNCT void cranda(floatComplex *out, int size);
**/
EXTERN_AUXFUNCT void zranda(doubleComplex *out, int size);
+/**
+ ** \brief uint8 Array Rand function
+ ** \return A random double array.
+ **/
+EXTERN_AUXFUNCT void u8randa(double *out, int size);
+
+/**
+ ** \brief uint16 Array Rand function
+ ** \return A random double array.
+ **/
+EXTERN_AUXFUNCT void u16randa(double *out, int size);
+
+
+/**
+ ** \brief int8 Array Rand function
+ ** \return A random double array.
+ **/
+EXTERN_AUXFUNCT void i8randa(double *out, int size);
+
+/**
+ ** \brief int16 Array Rand function
+ ** \return A random double array.
+ **/
+EXTERN_AUXFUNCT void i16randa(double *out, int size);
+
+
#ifdef __cplusplus
} /* extern "C" */
#endif