From 840757ed3de8916bef4636e8011e4597733e2e92 Mon Sep 17 00:00:00 2001 From: jofret Date: Fri, 5 Jan 2007 15:29:03 +0000 Subject: ArcCosine and ArcSine functions in basic cases. --- src/elementaryFunctions/asin/zasina.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/elementaryFunctions/asin/zasina.c (limited to 'src/elementaryFunctions/asin/zasina.c') diff --git a/src/elementaryFunctions/asin/zasina.c b/src/elementaryFunctions/asin/zasina.c new file mode 100644 index 00000000..c9e13f2d --- /dev/null +++ b/src/elementaryFunctions/asin/zasina.c @@ -0,0 +1,27 @@ +/* +** -*- C -*- +** +** zasina.c +** Made by Bruno JOFRET +** +** Started on Fri Jan 5 10:25:14 2007 jofret +** Last update Fri Jan 5 16:23:01 2007 jofret +** +** Copyright INRIA 2007 +*/ + +#ifndef STDC99 +#include "doubleComplex.h" +#else +#include +typedef double complex doubleComplex; +#endif + +doubleComplex zasins(doubleComplex); + +void zasina(doubleComplex* x, int strideX, doubleComplex* y, int strideY, int size) { + int i = 0; + for (i = 0; i < size; ++i) { + y[i] = zasins(x[i]); + } +} -- cgit