diff options
Diffstat (limited to 'src/elementaryFunctions/tan/ztana.c')
-rw-r--r-- | src/elementaryFunctions/tan/ztana.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/elementaryFunctions/tan/ztana.c b/src/elementaryFunctions/tan/ztana.c new file mode 100644 index 00000000..a815e58b --- /dev/null +++ b/src/elementaryFunctions/tan/ztana.c @@ -0,0 +1,27 @@ +/* +** -*- C -*- +** +** ztana.c +** Made by Bruno JOFRET <bruno.jofret@inria.fr> +** +** Started on Thu Dec 7 16:12:02 2006 jofret +** Last update Mon Jan 29 16:11:17 2007 jofret +** +** Copyright INRIA 2006 +*/ + +#ifndef STDC99 +#include "doubleComplex.h" +#else +#include <complex.h> +typedef double complex doubleComplex; +#endif + +doubleComplex ztans(doubleComplex); + +void ztana(doubleComplex* x, int strideX, doubleComplex* y, int strideY, int size) { + int i = 0; + for (i = 0; i < size; ++i) { + y[i] = ztans(x[i]); + } +} |