diff options
Diffstat (limited to 'src/elementaryFunctions/sinh/csinha.c')
-rw-r--r-- | src/elementaryFunctions/sinh/csinha.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/elementaryFunctions/sinh/csinha.c b/src/elementaryFunctions/sinh/csinha.c new file mode 100644 index 00000000..e55292de --- /dev/null +++ b/src/elementaryFunctions/sinh/csinha.c @@ -0,0 +1,27 @@ +/* +** -*- C -*- +** +** csinha.c +** Made by Bruno JOFRET <bruno.jofret@inria.fr> +** +** Started on Fri Dec 8 13:07:37 2006 jofret +** Last update Fri Jan 19 15:20:58 2007 jofret +** +** Copyright INRIA 2006 +*/ + +#ifndef STDC99 +#include "floatComplex.h" +#else +#include <complex.h> +typedef float complex floatComplex; +#endif + +floatComplex csinhs(floatComplex); + +void csinha(floatComplex* x, int strideX, floatComplex* y, int strideY, int size) { + int i = 0; + for (i = 0; i < size; ++i) { + y[i] = csinhs(x[i]); + } +} |