diff options
author | jofret | 2007-09-11 15:39:18 +0000 |
---|---|---|
committer | jofret | 2007-09-11 15:39:18 +0000 |
commit | d69b2d6d15739b9313f7fe932332650d147f2f49 (patch) | |
tree | c1ab2983771e896b3c920510a70bf26006544828 /src/elementaryFunctions/includes | |
parent | 84565c7a51642bc2ee3c7d00e44aa115c21a71e7 (diff) | |
download | scilab2c-d69b2d6d15739b9313f7fe932332650d147f2f49.tar.gz scilab2c-d69b2d6d15739b9313f7fe932332650d147f2f49.tar.bz2 scilab2c-d69b2d6d15739b9313f7fe932332650d147f2f49.zip |
Prototyping atan mathematical function.
Diffstat (limited to 'src/elementaryFunctions/includes')
-rw-r--r-- | src/elementaryFunctions/includes/atan.h | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/src/elementaryFunctions/includes/atan.h b/src/elementaryFunctions/includes/atan.h new file mode 100644 index 00000000..6af85622 --- /dev/null +++ b/src/elementaryFunctions/includes/atan.h @@ -0,0 +1,76 @@ +/* +** -*- C -*- +** +** atan.h +** Made by Bruno JOFRET <bruno.jofret@inria.fr> +** +** Started on Tue Dec 5 15:49:18 2006 jofret +** Last update Wed Sep 5 16:05:57 2007 bruno +** +** Copyright INRIA 2006 +*/ + +#include "floatComplex.h" +#include "doubleComplex.h" + +/* +** Compute ArcTangeant for different types . +*/ + +/* +** \brief Float ArcTangeant function +** \param in : input value. +*/ +float satans(float in); + +/* +** \brief Double ArcTangeant function +** \param in : input value. +*/ +double datans(double in); + +/* +** \brief Float Complex ArcTangeant function +** \param in : input value. +*/ +floatComplex catans(floatComplex in); + +/* +** \brief Double Complex ArcTangeant function +** \param in : input value. +*/ +doubleComplex zatans(doubleComplex in); + +/* +** \brief Float Matrix ArcTangeant function +** \param in : input array value. +** \param out : input array value. +** \param size : the size of in and out arrays. +*/ +void satana(float* in, float* out, int size); + +/* +** \brief Double Matrix ArcTangeant function +** \param in : input array value. +** \param out : input array value. +** \param size : the size of in and out arrays. +*/ +void datana(double* in, double* out, int size); + +/* +** \brief Float Complex Matrix ArcTangeant function +** \param in : input array value. +** \param out : input array value. +** \param size : the size of in and out arrays. +*/ +void catana(floatComplex* in, floatComplex* out, int size); + +/* +** \brief Double Complex Matrix ArcTangeant function +** \param in : input array value. +** \param out : input array value. +** \param size : the size of in and out arrays. +*/ +void zatana(doubleComplex* in, doubleComplex* out, int size); + + |