diff options
author | imushir | 2016-01-18 11:47:44 +0530 |
---|---|---|
committer | imushir | 2016-01-18 11:47:44 +0530 |
commit | bcb2bf1c014a1078f4306cd0111f4e596fe934ce (patch) | |
tree | 2aaae4926f8354f89b2061599d62b5d650e1535e /2.3-1/src/c/auxiliaryFunctions/rand/u16randa.c | |
parent | 03a27e6884942182e984433fd2ebba7e5f55a4d9 (diff) | |
download | Scilab2C-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/rand/u16randa.c')
-rw-r--r-- | 2.3-1/src/c/auxiliaryFunctions/rand/u16randa.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/2.3-1/src/c/auxiliaryFunctions/rand/u16randa.c b/2.3-1/src/c/auxiliaryFunctions/rand/u16randa.c new file mode 100644 index 00000000..f5393369 --- /dev/null +++ b/2.3-1/src/c/auxiliaryFunctions/rand/u16randa.c @@ -0,0 +1,12 @@ +/* Scilab2C FOSSEE IIT BOMBAY */ +#include "rand.h" + +void u16randa(double *out,int size) +{ + int i = 0; + for(i = 0 ; i < size ; ++i) + { + out[i] = u16rands(); + } + +} |