diff options
Diffstat (limited to 'src/elementaryFunctions/tanh/dtanha.c')
-rw-r--r-- | src/elementaryFunctions/tanh/dtanha.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/elementaryFunctions/tanh/dtanha.c b/src/elementaryFunctions/tanh/dtanha.c new file mode 100644 index 00000000..0a10ae16 --- /dev/null +++ b/src/elementaryFunctions/tanh/dtanha.c @@ -0,0 +1,20 @@ +/* +** -*- C -*- +** +** dtanha.c +** Made by Bruno JOFRET <bruno.jofret@inria.fr> +** +** Started on Thu Dec 7 14:54:56 2006 jofret +** Last update Mon Jan 29 17:05:17 2007 jofret +** +** Copyright INRIA 2006 +*/ + +double dtanhs(double); + +void dtanha(double* x, int strideX, double* y, int strideY, int size) { + int i = 0; + for (i = 0; i < size; ++i) { + y[i] = dtanhs(x[i]); + } +} |