diff options
author | siddhu8990 | 2016-02-01 11:29:45 +0530 |
---|---|---|
committer | siddhu8990 | 2016-02-01 11:29:45 +0530 |
commit | 58b8656a350fed1a1e59caa484e6d9967dd1bc4d (patch) | |
tree | 32564f5b0100d57a6ad1019b77a601ecfe678d92 /2.3-1/src/c/auxiliaryFunctions/rand/i16randa.c | |
parent | 3425c4fedbdbc7e1a3440df7502d9af93f466b84 (diff) | |
parent | 7bc57b2061931e5b5843ac6616591b7cff9e9476 (diff) | |
download | Scilab2C-58b8656a350fed1a1e59caa484e6d9967dd1bc4d.tar.gz Scilab2C-58b8656a350fed1a1e59caa484e6d9967dd1bc4d.tar.bz2 Scilab2C-58b8656a350fed1a1e59caa484e6d9967dd1bc4d.zip |
Merged RPi and bit operators
Diffstat (limited to '2.3-1/src/c/auxiliaryFunctions/rand/i16randa.c')
-rw-r--r-- | 2.3-1/src/c/auxiliaryFunctions/rand/i16randa.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/2.3-1/src/c/auxiliaryFunctions/rand/i16randa.c b/2.3-1/src/c/auxiliaryFunctions/rand/i16randa.c new file mode 100644 index 00000000..f3d8dd37 --- /dev/null +++ b/2.3-1/src/c/auxiliaryFunctions/rand/i16randa.c @@ -0,0 +1,12 @@ +/* Scilab2C FOSSEE IIT BOMBAY */ +#include "rand.h" + +void i16randa(double *out,int size) +{ + int i = 0; + for(i = 0 ; i < size ; ++i) + { + out[i] = i16rands(); + } + +} |