diff options
Diffstat (limited to 'src/elementaryFunctions/sin/dsina.c')
-rw-r--r-- | src/elementaryFunctions/sin/dsina.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/elementaryFunctions/sin/dsina.c b/src/elementaryFunctions/sin/dsina.c new file mode 100644 index 00000000..b8d6b9e9 --- /dev/null +++ b/src/elementaryFunctions/sin/dsina.c @@ -0,0 +1,20 @@ +/* +** -*- C -*- +** +** dsina.c +** Made by Bruno JOFRET <bruno.jofret@inria.fr> +** +** Started on Fri Dec 8 11:02:19 2006 jofret +** Last update Fri Dec 8 11:04:08 2006 jofret +** +** Copyright INRIA 2006 +*/ + +double dsins(double); + +void dsina(double* x, int strideX, double* y, int strideY, int size) { + int i = 0; + for (i = 0; i < size; ++i) { + y[i] = dsins(x[i]); + } +} |