diff options
author | jofret | 2007-01-05 15:29:03 +0000 |
---|---|---|
committer | jofret | 2007-01-05 15:29:03 +0000 |
commit | 840757ed3de8916bef4636e8011e4597733e2e92 (patch) | |
tree | 08668917029b233d1ef7deadb787082f497ba4a6 /src/elementaryFunctions/asin/zasina.c | |
parent | 06cff68b037ef9a3b9b78a40cd15e5bccfbe269d (diff) | |
download | scilab2c-840757ed3de8916bef4636e8011e4597733e2e92.tar.gz scilab2c-840757ed3de8916bef4636e8011e4597733e2e92.tar.bz2 scilab2c-840757ed3de8916bef4636e8011e4597733e2e92.zip |
ArcCosine and ArcSine functions in basic cases.
Diffstat (limited to 'src/elementaryFunctions/asin/zasina.c')
-rw-r--r-- | src/elementaryFunctions/asin/zasina.c | 27 |
1 files changed, 27 insertions, 0 deletions
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 <bruno.jofret@inria.fr> +** +** 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 <complex.h> +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]); + } +} |