summaryrefslogtreecommitdiff
path: root/src/c/auxiliaryFunctions/rand/u16randa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c/auxiliaryFunctions/rand/u16randa.c')
-rw-r--r--src/c/auxiliaryFunctions/rand/u16randa.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/c/auxiliaryFunctions/rand/u16randa.c b/src/c/auxiliaryFunctions/rand/u16randa.c
new file mode 100644
index 0000000..f539336
--- /dev/null
+++ b/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();
+ }
+
+}