diff options
Diffstat (limited to 'src/Scilab2C/Scilab2C/CFiles/sci2ccode/cexpa.c')
-rw-r--r-- | src/Scilab2C/Scilab2C/CFiles/sci2ccode/cexpa.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/Scilab2C/Scilab2C/CFiles/sci2ccode/cexpa.c b/src/Scilab2C/Scilab2C/CFiles/sci2ccode/cexpa.c new file mode 100644 index 00000000..0380e43f --- /dev/null +++ b/src/Scilab2C/Scilab2C/CFiles/sci2ccode/cexpa.c @@ -0,0 +1,20 @@ +/* +** -*- C -*- +** +** cexpa.c +** Made by Bruno JOFRET <bruno.jofret@inria.fr> +** +** Started on Thu Dec 7 14:54:24 2006 jofret +** Last update Mon Oct 22 09:53:24 2007 bruno +** +** Copyright INRIA 2006 +*/ + +#include "exp.h" + +void cexpa(floatComplex* x, int size, floatComplex* y) { + int i = 0; + for (i = 0; i < size; ++i) { + y[i] = cexps(x[i]); + } +} |