diff options
Diffstat (limited to 'src/auxiliaryFunctions/rand/cranda.c')
-rw-r--r-- | src/auxiliaryFunctions/rand/cranda.c | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/src/auxiliaryFunctions/rand/cranda.c b/src/auxiliaryFunctions/rand/cranda.c index d27117ff..543ea1bb 100644 --- a/src/auxiliaryFunctions/rand/cranda.c +++ b/src/auxiliaryFunctions/rand/cranda.c @@ -1 +1,20 @@ -/* FIXME : Implementation */ +/* +** -*- C -*- +** +** cranda.c +** Made by Bruno JOFRET <bruno.jofret@inria.fr> +** +** Started on Fri Sep 7 16:05:02 2007 bruno +** Last update Fri Sep 7 16:08:23 2007 bruno +** +** Copyright INRIA 2007 +*/ + +#include "rand.h" + +void cranda(floatComplex *out, int size) { + int i = 0; + for (i = 0 ; i < size ; ++i) { + out[i] = crands(); + } +} |