diff options
author | jofret | 2007-10-22 15:25:31 +0000 |
---|---|---|
committer | jofret | 2007-10-22 15:25:31 +0000 |
commit | 1c4dd59a3c4a052771bfdb3c625dd11b4eb94b60 (patch) | |
tree | 9dc930a53931f0db39f462dfcec8f4a5a3f836f8 | |
parent | 631a22d38f47413311f08b4b78c13e3ec7b4f1d2 (diff) | |
download | scilab2c-1c4dd59a3c4a052771bfdb3c625dd11b4eb94b60.tar.gz scilab2c-1c4dd59a3c4a052771bfdb3c625dd11b4eb94b60.tar.bz2 scilab2c-1c4dd59a3c4a052771bfdb3c625dd11b4eb94b60.zip |
Moving array functions prototype
-rw-r--r-- | src/elementaryFunctions/includes/acos.h | 15 | ||||
-rw-r--r-- | src/elementaryFunctions/includes/acosh.h | 15 | ||||
-rw-r--r-- | src/elementaryFunctions/includes/asin.h | 15 | ||||
-rw-r--r-- | src/elementaryFunctions/includes/asinh.h | 15 | ||||
-rw-r--r-- | src/elementaryFunctions/includes/atan.h | 15 | ||||
-rw-r--r-- | src/elementaryFunctions/includes/atanh.h | 14 | ||||
-rw-r--r-- | src/elementaryFunctions/includes/cos.h | 15 | ||||
-rw-r--r-- | src/elementaryFunctions/includes/cosh.h | 14 | ||||
-rw-r--r-- | src/elementaryFunctions/includes/exp.h | 14 | ||||
-rw-r--r-- | src/elementaryFunctions/includes/exp10.h | 14 | ||||
-rw-r--r-- | src/elementaryFunctions/includes/log.h | 14 | ||||
-rw-r--r-- | src/elementaryFunctions/includes/log10.h | 14 | ||||
-rw-r--r-- | src/elementaryFunctions/includes/sin.h | 14 | ||||
-rw-r--r-- | src/elementaryFunctions/includes/sinh.h | 15 | ||||
-rw-r--r-- | src/elementaryFunctions/includes/sqrt.h | 15 | ||||
-rw-r--r-- | src/elementaryFunctions/includes/tan.h | 14 | ||||
-rw-r--r-- | src/elementaryFunctions/includes/tanh.h | 15 |
17 files changed, 153 insertions, 94 deletions
diff --git a/src/elementaryFunctions/includes/acos.h b/src/elementaryFunctions/includes/acos.h index c17423cf..dff40551 100644 --- a/src/elementaryFunctions/includes/acos.h +++ b/src/elementaryFunctions/includes/acos.h @@ -5,11 +5,14 @@ ** Made by Bruno JOFRET <bruno.jofret@inria.fr> ** ** Started on Fri Jan 5 10:20:35 2007 jofret -** Last update Mon Mar 19 13:43:30 2007 jofret +** Last update Mon Oct 22 09:42:52 2007 bruno ** ** Copyright INRIA 2007 */ +#ifndef __ACOS_H__ +#define __ACOS_H__ + #include "floatComplex.h" #include "doubleComplex.h" @@ -47,7 +50,7 @@ doubleComplex zacoss(doubleComplex in); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void sacosa(float* in, float* out, int size); +void sacosa(float* in, int size, float* out); /* ** \brief Double Matrix ArcCosine function @@ -55,7 +58,7 @@ void sacosa(float* in, float* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void dacosa(double* in, double* out, int size); +void dacosa(double* in, int size, double* out); /* ** \brief Float Complex Matrix ArcCosine function @@ -63,7 +66,7 @@ void dacosa(double* in, double* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void cacosa(floatComplex* in, floatComplex* out, int size); +void cacosa(floatComplex* in, int size, floatComplex* out); /* ** \brief Double Complex Matrix ArcCosine function @@ -71,6 +74,6 @@ void cacosa(floatComplex* in, floatComplex* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void zacosa(doubleComplex* in, doubleComplex* out, int size); - +void zacosa(doubleComplex* in, int size, doubleComplex* out); +#endif /* !__ACOS_H__ */ diff --git a/src/elementaryFunctions/includes/acosh.h b/src/elementaryFunctions/includes/acosh.h index 93527016..c488f698 100644 --- a/src/elementaryFunctions/includes/acosh.h +++ b/src/elementaryFunctions/includes/acosh.h @@ -5,11 +5,14 @@ ** Made by Bruno JOFRET <bruno.jofret@inria.fr> ** ** Started on Fri Jan 5 10:20:35 2007 jofret -** Last update Wed Sep 5 15:31:02 2007 bruno +** Last update Mon Oct 22 09:40:42 2007 bruno ** ** Copyright INRIA 2007 */ +#ifndef __ACOSH_H__ +#define __ACOSH_H__ + #include "floatComplex.h" #include "doubleComplex.h" @@ -47,7 +50,7 @@ doubleComplex zacoshs(doubleComplex in); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void sacosha(float* in, float* out, int size); +void sacosha(float* in, int size, float* out); /* ** \brief Double Matrix Hyperbolic ArcCosine function @@ -55,7 +58,7 @@ void sacosha(float* in, float* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void dacosha(double* in, double* out, int size); +void dacosha(double* in, int size, double* out); /* ** \brief Float Complex Matrix Hyperbolic ArcCosine function @@ -63,7 +66,7 @@ void dacosha(double* in, double* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void cacosha(floatComplex* in, floatComplex* out, int size); +void cacosha(floatComplex* in, int size, floatComplex* out); /* ** \brief Double Complex Matrix Hyperbolic ArcCosine function @@ -71,6 +74,6 @@ void cacosha(floatComplex* in, floatComplex* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void zacosha(doubleComplex* in, doubleComplex* out, int size); - +void zacosha(doubleComplex* in, int size, doubleComplex* out); +#endif /* !__ACOSH_H__ */ diff --git a/src/elementaryFunctions/includes/asin.h b/src/elementaryFunctions/includes/asin.h index cd1eac4a..a838b857 100644 --- a/src/elementaryFunctions/includes/asin.h +++ b/src/elementaryFunctions/includes/asin.h @@ -5,11 +5,14 @@ ** Made by Bruno JOFRET <bruno.jofret@inria.fr> ** ** Started on Fri Jan 5 10:20:35 2007 jofret -** Last update Mon Mar 19 13:41:29 2007 jofret +** Last update Mon Oct 22 09:39:43 2007 bruno ** ** Copyright INRIA 2007 */ +#ifndef __ASIN_H__ +#define __ASIN_H__ + #include "floatComplex.h" #include "doubleComplex.h" @@ -47,7 +50,7 @@ doubleComplex zasins(doubleComplex in); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void sasina(float* in, float* out, int size); +void sasina(float* in, int size, float* out); /* ** \brief Double Matrix ArcSine function @@ -55,7 +58,7 @@ void sasina(float* in, float* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void dasina(double* in, double* out, int size); +void dasina(double* in, int size, double* out); /* ** \brief Float Complex Matrix ArcSine function @@ -63,7 +66,7 @@ void dasina(double* in, double* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void casina(floatComplex* in, floatComplex* out, int size); +void casina(floatComplex* in, int size, floatComplex* out); /* ** \brief Double Complex Matrix ArcSine function @@ -71,6 +74,6 @@ void casina(floatComplex* in, floatComplex* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void zasina(doubleComplex* in, doubleComplex* out, int size); - +void zasina(doubleComplex* in, int size, doubleComplex* out); +#endif /* !__ASIN_H__ */ diff --git a/src/elementaryFunctions/includes/asinh.h b/src/elementaryFunctions/includes/asinh.h index f9766663..5bf9aceb 100644 --- a/src/elementaryFunctions/includes/asinh.h +++ b/src/elementaryFunctions/includes/asinh.h @@ -5,11 +5,14 @@ ** Made by Bruno JOFRET <bruno.jofret@inria.fr> ** ** Started on Fri Jan 5 10:20:35 2007 jofret -** Last update Wed Sep 5 15:32:26 2007 bruno +** Last update Mon Oct 22 09:38:22 2007 bruno ** ** Copyright INRIA 2007 */ +#ifndef __ASINH_H__ +#define __ASINH_H__ + #include "floatComplex.h" #include "doubleComplex.h" @@ -47,7 +50,7 @@ doubleComplex zasinhs(doubleComplex in); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void sasinha(float* in, float* out, int size); +void sasinha(float* in, int size, float* out); /* ** \brief Double Matrix Hyperbolic ArcSine function @@ -55,7 +58,7 @@ void sasinha(float* in, float* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void dasinha(double* in, double* out, int size); +void dasinha(double* in, int size, double* out); /* ** \brief Float Complex Matrix Hyperbolic ArcSine function @@ -63,7 +66,7 @@ void dasinha(double* in, double* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void casinha(floatComplex* in, floatComplex* out, int size); +void casinha(floatComplex* in, int size, floatComplex* out); /* ** \brief Double Complex Matrix Hyperbolic ArcSine function @@ -71,6 +74,6 @@ void casinha(floatComplex* in, floatComplex* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void zasinha(doubleComplex* in, doubleComplex* out, int size); - +void zasinha(doubleComplex* in, int size, doubleComplex* out); +#endif /* !__ASINH_H__ */ diff --git a/src/elementaryFunctions/includes/atan.h b/src/elementaryFunctions/includes/atan.h index 6af85622..aa59a33b 100644 --- a/src/elementaryFunctions/includes/atan.h +++ b/src/elementaryFunctions/includes/atan.h @@ -5,11 +5,14 @@ ** 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 +** Last update Mon Oct 22 09:36:09 2007 bruno ** ** Copyright INRIA 2006 */ +#ifndef __ATAN_H__ +#define __ATAN_H__ + #include "floatComplex.h" #include "doubleComplex.h" @@ -47,7 +50,7 @@ doubleComplex zatans(doubleComplex in); ** \param out : input array value. ** \param size : the size of in and out arrays. */ -void satana(float* in, float* out, int size); +void satana(float* in, int size, float* out); /* ** \brief Double Matrix ArcTangeant function @@ -55,7 +58,7 @@ void satana(float* in, float* out, int size); ** \param out : input array value. ** \param size : the size of in and out arrays. */ -void datana(double* in, double* out, int size); +void datana(double* in, int size, double* out); /* ** \brief Float Complex Matrix ArcTangeant function @@ -63,7 +66,7 @@ void datana(double* in, double* out, int size); ** \param out : input array value. ** \param size : the size of in and out arrays. */ -void catana(floatComplex* in, floatComplex* out, int size); +void catana(floatComplex* in, int size, floatComplex* out); /* ** \brief Double Complex Matrix ArcTangeant function @@ -71,6 +74,6 @@ void catana(floatComplex* in, floatComplex* out, int size); ** \param out : input array value. ** \param size : the size of in and out arrays. */ -void zatana(doubleComplex* in, doubleComplex* out, int size); - +void zatana(doubleComplex* in, int size, doubleComplex* out); +#endif /* !__ATAN_H__ */ diff --git a/src/elementaryFunctions/includes/atanh.h b/src/elementaryFunctions/includes/atanh.h index bd7423d5..1c712789 100644 --- a/src/elementaryFunctions/includes/atanh.h +++ b/src/elementaryFunctions/includes/atanh.h @@ -5,11 +5,14 @@ ** Made by Bruno JOFRET <bruno.jofret@inria.fr> ** ** Started on Tue Dec 5 15:49:18 2006 jofret -** Last update Wed Sep 5 16:22:20 2007 bruno +** Last update Mon Oct 22 09:35:16 2007 bruno ** ** Copyright INRIA 2006 */ +#ifndef __ATANH_H__ +#define __ATANH_H__ + #include "floatComplex.h" #include "doubleComplex.h" @@ -47,7 +50,7 @@ doubleComplex zatanhs(doubleComplex in); ** \param out : input array value. ** \param size : the size of in and out arrays. */ -void satanha(float* in, float* out, int size); +void satanha(float* in, int size, float* out); /* ** \brief Double Matrix Hyperbolic ArcTangeant function @@ -55,7 +58,7 @@ void satanha(float* in, float* out, int size); ** \param out : input array value. ** \param size : the size of in and out arrays. */ -void datanha(double* in, double* out, int size); +void datanha(double* in, int size, double* out); /* ** \brief Float Complex Matrix Hyperbolic ArcTangeant function @@ -63,7 +66,7 @@ void datanha(double* in, double* out, int size); ** \param out : input array value. ** \param size : the size of in and out arrays. */ -void catanha(floatComplex* in, floatComplex* out, int size); +void catanha(floatComplex* in, int size, floatComplex* out); /* ** \brief Double Complex Matrix Hyperbolic ArcTangeant function @@ -71,6 +74,7 @@ void catanha(floatComplex* in, floatComplex* out, int size); ** \param out : input array value. ** \param size : the size of in and out arrays. */ -void zatanha(doubleComplex* in, doubleComplex* out, int size); +void zatanha(doubleComplex* in, int size, doubleComplex* out); +#endif /* !__ATANH_H__ */ diff --git a/src/elementaryFunctions/includes/cos.h b/src/elementaryFunctions/includes/cos.h index faba2db5..3b698f21 100644 --- a/src/elementaryFunctions/includes/cos.h +++ b/src/elementaryFunctions/includes/cos.h @@ -5,11 +5,14 @@ ** Made by Bruno JOFRET <bruno.jofret@inria.fr> ** ** Started on Tue Dec 5 15:49:18 2006 jofret -** Last update Mon Mar 19 15:07:50 2007 jofret +** Last update Mon Oct 22 10:01:54 2007 bruno ** ** Copyright INRIA 2006 */ +#ifndef __COS_H__ +#define __COS_H__ + #include "floatComplex.h" #include "doubleComplex.h" @@ -47,7 +50,7 @@ doubleComplex zcoss(doubleComplex in); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void scosa(float* in, float* out, int size); +void scosa(float* in, int size, float* out); /* ** \brief Double Matrix Cosine function @@ -55,7 +58,7 @@ void scosa(float* in, float* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void dcosa(double* in, double* out, int size); +void dcosa(double* in, int size, double* out); /* ** \brief Float Complex Matrix Cosine function @@ -63,7 +66,7 @@ void dcosa(double* in, double* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void ccosa(floatComplex* in, floatComplex* out, int size); +void ccosa(floatComplex* in, int size, floatComplex* out); /* ** \brief Double Complex Matrix Cosine function @@ -71,6 +74,6 @@ void ccosa(floatComplex* in, floatComplex* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void zcosa(doubleComplex* in, doubleComplex* out, int size); - +void zcosa(doubleComplex* in, int size, doubleComplex* out); +#endif /* !__COS_H__ */ diff --git a/src/elementaryFunctions/includes/cosh.h b/src/elementaryFunctions/includes/cosh.h index ea6a9e5b..8383ff7c 100644 --- a/src/elementaryFunctions/includes/cosh.h +++ b/src/elementaryFunctions/includes/cosh.h @@ -5,11 +5,14 @@ ** Made by Bruno JOFRET <bruno.jofret@inria.fr> ** ** Started on Tue Dec 5 15:49:18 2006 jofret -** Last update Mon Mar 19 12:08:32 2007 jofret +** Last update Mon Oct 22 09:33:12 2007 bruno ** ** Copyright INRIA 2006 */ +#ifndef __COSH_H__ +#define __COSH_H__ + #include "floatComplex.h" #include "doubleComplex.h" @@ -47,7 +50,7 @@ doubleComplex zcoshs(doubleComplex in); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void scosha(float* in, float* out, int size); +void scosha(float* in, int size, float* out); /* ** \brief Double Matrix Cosine function @@ -55,7 +58,7 @@ void scosha(float* in, float* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void dcosha(double* in, double* out, int size); +void dcosha(double* in, int size, double* out); /* ** \brief Float Complex Matrix Cosine function @@ -63,7 +66,7 @@ void dcosha(double* in, double* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void ccosha(floatComplex* in, floatComplex* out, int size); +void ccosha(floatComplex* in, int size, floatComplex* out); /* ** \brief Double Complex Matrix Cosine function @@ -71,6 +74,7 @@ void ccosha(floatComplex* in, floatComplex* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void zcosha(doubleComplex* in, doubleComplex* out, int size); +void zcosha(doubleComplex* in, int size, doubleComplex* out); +#endif /* !__COSH_H__ */ diff --git a/src/elementaryFunctions/includes/exp.h b/src/elementaryFunctions/includes/exp.h index 800519bd..64ff310a 100644 --- a/src/elementaryFunctions/includes/exp.h +++ b/src/elementaryFunctions/includes/exp.h @@ -5,11 +5,14 @@ ** Made by Bruno JOFRET <bruno.jofret@inria.fr> ** ** Started on Tue Dec 5 15:49:18 2006 jofret -** Last update Mon Mar 19 13:47:48 2007 jofret +** Last update Mon Oct 22 09:29:44 2007 bruno ** ** Copyright INRIA 2006 */ +#ifndef __EXP_H__ +#define __EXP_H__ + #include "floatComplex.h" #include "doubleComplex.h" @@ -47,7 +50,7 @@ doubleComplex zexps(doubleComplex in); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void sexpa(float* in, float* out, int size); +void sexpa(float* in, int size, float* out); /* ** \brief Double Matrix Exponential function @@ -55,7 +58,7 @@ void sexpa(float* in, float* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void dexpa(double* in, double* out, int size); +void dexpa(double* in, int size, double* out); /* ** \brief Float Complex Matrix Exponential function @@ -63,7 +66,7 @@ void dexpa(double* in, double* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void cexpa(floatComplex* in, floatComplex* out, int size); +void cexpa(floatComplex* in, int size, floatComplex* out); /* ** \brief Double Complex Matrix Exponential function @@ -71,6 +74,7 @@ void cexpa(floatComplex* in, floatComplex* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void zexpa(doubleComplex* in, doubleComplex* out, int size); +void zexpa(doubleComplex* in, int size, doubleComplex* out); +#endif /* !__EXP_H__ */ diff --git a/src/elementaryFunctions/includes/exp10.h b/src/elementaryFunctions/includes/exp10.h index 2f66a2c4..1208bb99 100644 --- a/src/elementaryFunctions/includes/exp10.h +++ b/src/elementaryFunctions/includes/exp10.h @@ -5,11 +5,14 @@ ** Made by Bruno JOFRET <bruno.jofret@inria.fr> ** ** Started on Tue Dec 5 15:49:18 2006 jofret -** Last update Thu Sep 6 17:08:51 2007 bruno +** Last update Mon Oct 22 09:32:28 2007 bruno ** ** Copyright INRIA 2006 */ +#ifndef __EXP10_H__ +#define __EXP10_H__ + #include "floatComplex.h" #include "doubleComplex.h" @@ -47,7 +50,7 @@ doubleComplex zexp10s(doubleComplex in); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void sexp10a(float* in, float* out, int size); +void sexp10a(float* in, int size, float* out); /* ** \brief Double Matrix 10 based Exponential function @@ -55,7 +58,7 @@ void sexp10a(float* in, float* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void dexp10a(double* in, double* out, int size); +void dexp10a(double* in, int size, double* out); /* ** \brief Float Complex Matrix 10 based Exponential function @@ -63,7 +66,7 @@ void dexp10a(double* in, double* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void cexp10a(floatComplex* in, floatComplex* out, int size); +void cexp10a(floatComplex* in, int size, floatComplex* out); /* ** \brief Double Complex Matrix 10 based Exponential function @@ -71,6 +74,7 @@ void cexp10a(floatComplex* in, floatComplex* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void zexp10a(doubleComplex* in, doubleComplex* out, int size); +void zexp10a(doubleComplex* in, int size, doubleComplex* out); +#endif /* !__EXP10_H__ */ diff --git a/src/elementaryFunctions/includes/log.h b/src/elementaryFunctions/includes/log.h index 0af03ad1..0cf6c85b 100644 --- a/src/elementaryFunctions/includes/log.h +++ b/src/elementaryFunctions/includes/log.h @@ -5,11 +5,14 @@ ** Made by Bruno JOFRET <bruno.jofret@inria.fr> ** ** Started on Thu Mar 22 08:52:36 2007 jofret -** Last update Thu Mar 22 08:54:04 2007 jofret +** Last update Mon Oct 22 09:27:17 2007 bruno ** ** Copyright INRIA 2007 */ +#ifndef __LOG_H__ +#define __LOG_H__ + #include "floatComplex.h" #include "doubleComplex.h" @@ -47,7 +50,7 @@ doubleComplex zlogs(doubleComplex in); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void sloga(float* in, float* out, int size); +void sloga(float* in, int size, float* out); /* ** \brief Double Matrix Logarithm function @@ -55,7 +58,7 @@ void sloga(float* in, float* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void dloga(double* in, double* out, int size); +void dloga(double* in, int size, double* out); /* ** \brief Float Complex Matrix Logarithm function @@ -63,7 +66,7 @@ void dloga(double* in, double* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void cloga(floatComplex* in, floatComplex* out, int size); +void cloga(floatComplex* in, int size, floatComplex* out); /* ** \brief Double Complex Matrix Logarithm function @@ -71,6 +74,7 @@ void cloga(floatComplex* in, floatComplex* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void zloga(doubleComplex* in, doubleComplex* out, int size); +void zloga(doubleComplex* in, int size, doubleComplex* out); +#endif /* !__LOG_H__ */ diff --git a/src/elementaryFunctions/includes/log10.h b/src/elementaryFunctions/includes/log10.h index b2f2c35a..0f7e3c93 100644 --- a/src/elementaryFunctions/includes/log10.h +++ b/src/elementaryFunctions/includes/log10.h @@ -5,11 +5,14 @@ ** Made by Bruno JOFRET <bruno.jofret@inria.fr> ** ** Started on Thu Mar 22 08:52:36 2007 jofret -** Last update Wed Sep 5 17:58:52 2007 bruno +** Last update Mon Oct 22 09:29:03 2007 bruno ** ** Copyright INRIA 2007 */ +#ifndef __LOG10_H__ +#define __LOG10_H__ + #include "floatComplex.h" #include "doubleComplex.h" @@ -47,7 +50,7 @@ doubleComplex zlog10s(doubleComplex in); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void slog10a(float* in, float* out, int size); +void slog10a(float* in, int size, float* out); /* ** \brief Double Matrix Ten based Logarithm function @@ -55,7 +58,7 @@ void slog10a(float* in, float* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void dlog10a(double* in, double* out, int size); +void dlog10a(double* in, int size, double* out); /* ** \brief Float Complex Matrix Ten based Logarithm function @@ -63,7 +66,7 @@ void dlog10a(double* in, double* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void clog10a(floatComplex* in, floatComplex* out, int size); +void clog10a(floatComplex* in, int size, floatComplex* out); /* ** \brief Double Complex Matrix Ten based Logarithm function @@ -71,6 +74,7 @@ void clog10a(floatComplex* in, floatComplex* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void zlog10a(doubleComplex* in, doubleComplex* out, int size); +void zlog10a(doubleComplex* in, int size, doubleComplex* out); +#endif /* !__LOG10_H__ */ diff --git a/src/elementaryFunctions/includes/sin.h b/src/elementaryFunctions/includes/sin.h index 9992f187..63226ec1 100644 --- a/src/elementaryFunctions/includes/sin.h +++ b/src/elementaryFunctions/includes/sin.h @@ -5,11 +5,14 @@ ** Made by Bruno JOFRET <bruno.jofret@inria.fr> ** ** Started on Tue Dec 5 15:49:18 2006 jofret -** Last update Mon Mar 19 12:00:10 2007 jofret +** Last update Mon Oct 22 09:24:56 2007 bruno ** ** Copyright INRIA 2006 */ +#ifndef __SIN_H__ +#define __SIN_H__ + #include "floatComplex.h" #include "doubleComplex.h" @@ -47,7 +50,7 @@ doubleComplex zsins(doubleComplex in); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void ssina(float* in, float* out, int size); +void ssina(float* in, int size, float* out); /* ** \brief Double Matrix Sine function @@ -55,7 +58,7 @@ void ssina(float* in, float* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void dsina(double* in, double* out, int size); +void dsina(double* in, int size, double* out); /* ** \brief Float Complex Matrix Sine function @@ -63,7 +66,7 @@ void dsina(double* in, double* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void csina(floatComplex* in, floatComplex* out, int size); +void csina(floatComplex* in, int size, floatComplex* out); /* ** \brief Double Complex Matrix Sine function @@ -71,6 +74,7 @@ void csina(floatComplex* in, floatComplex* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void zsina(doubleComplex* in, doubleComplex* out, int size); +void zsina(doubleComplex* in, int size, doubleComplex* out); +#endif /* !__SIN_H__ */ diff --git a/src/elementaryFunctions/includes/sinh.h b/src/elementaryFunctions/includes/sinh.h index 515525db..8d983ebf 100644 --- a/src/elementaryFunctions/includes/sinh.h +++ b/src/elementaryFunctions/includes/sinh.h @@ -5,11 +5,14 @@ ** Made by Bruno JOFRET <bruno.jofret@inria.fr> ** ** Started on Tue Dec 5 15:49:18 2006 jofret -** Last update Mon Mar 19 13:46:39 2007 jofret +** Last update Mon Oct 22 09:24:13 2007 bruno ** ** Copyright INRIA 2006 */ +#ifndef __SINH_H__ +#define __SINH_H__ + #include "floatComplex.h" #include "doubleComplex.h" @@ -47,7 +50,7 @@ doubleComplex zsinhs(doubleComplex in); ** \param out : input array value. ** \param size : the size of in and out arrays. */ -void ssinha(float* in, float* out, int size); +void ssinha(float* in, int size, float* out); /* ** \brief Double Matrix Sine function @@ -55,7 +58,7 @@ void ssinha(float* in, float* out, int size); ** \param out : input array value. ** \param size : the size of in and out arrays. */ -void dsinha(double* in, double* out, int size); +void dsinha(double* in, int size, double* out); /* ** \brief Float Complex Matrix Sine function @@ -63,7 +66,7 @@ void dsinha(double* in, double* out, int size); ** \param out : input array value. ** \param size : the size of in and out arrays. */ -void csinha(floatComplex* in, floatComplex* out, int size); +void csinha(floatComplex* in, int size, floatComplex* out); /* ** \brief Double Complex Matrix Sine function @@ -71,6 +74,6 @@ void csinha(floatComplex* in, floatComplex* out, int size); ** \param out : input array value. ** \param size : the size of in and out arrays. */ -void zsinha(doubleComplex* in, doubleComplex* out, int size); - +void zsinha(doubleComplex* in, int size, doubleComplex* out); +#endif /* !__SINH_H__ */ diff --git a/src/elementaryFunctions/includes/sqrt.h b/src/elementaryFunctions/includes/sqrt.h index 6acf4867..01175948 100644 --- a/src/elementaryFunctions/includes/sqrt.h +++ b/src/elementaryFunctions/includes/sqrt.h @@ -5,11 +5,14 @@ ** Made by Bruno JOFRET <bruno.jofret@inria.fr> ** ** Started on Thu Mar 22 08:54:39 2007 jofret -** Last update Thu Mar 22 08:55:15 2007 jofret +** Last update Mon Oct 22 10:02:53 2007 bruno ** ** Copyright INRIA 2007 */ +#ifndef __SQRT_H__ +#define __SQRT_H__ + #include "floatComplex.h" #include "doubleComplex.h" @@ -47,7 +50,7 @@ doubleComplex zsqrts(doubleComplex in); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void ssqrta(float* in, float* out, int size); +void ssqrta(float* in, int size, float* out); /* ** \brief Double Matrix Square Root function @@ -55,7 +58,7 @@ void ssqrta(float* in, float* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void dsqrta(double* in, double* out, int size); +void dsqrta(double* in, int size, double* out); /* ** \brief Float Complex Matrix Square Root function @@ -63,7 +66,7 @@ void dsqrta(double* in, double* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void csqrta(floatComplex* in, floatComplex* out, int size); +void csqrta(floatComplex* in, int size, floatComplex* out); /* ** \brief Double Complex Matrix Square Root function @@ -71,6 +74,6 @@ void csqrta(floatComplex* in, floatComplex* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void zsqrta(doubleComplex* in, doubleComplex* out, int size); - +void zsqrta(doubleComplex* in, int size, doubleComplex* out); +#endif /* !__SQRT_H__ */ diff --git a/src/elementaryFunctions/includes/tan.h b/src/elementaryFunctions/includes/tan.h index 4088515e..9c3028a2 100644 --- a/src/elementaryFunctions/includes/tan.h +++ b/src/elementaryFunctions/includes/tan.h @@ -5,11 +5,14 @@ ** Made by Bruno JOFRET <bruno.jofret@inria.fr> ** ** Started on Tue Dec 5 15:49:18 2006 jofret -** Last update Mon Mar 19 11:56:44 2007 jofret +** Last update Mon Oct 22 10:02:28 2007 bruno ** ** Copyright INRIA 2006 */ +#ifndef __TAN_H__ +#define __TAN_H__ + #include "floatComplex.h" #include "doubleComplex.h" @@ -47,7 +50,7 @@ doubleComplex ztans(doubleComplex in); ** \param out : input array value. ** \param size : the size of in and out arrays. */ -void stana(float* in, float* out, int size); +void stana(float* in, int size, float* out); /* ** \brief Double Matrix Tangeant function @@ -55,7 +58,7 @@ void stana(float* in, float* out, int size); ** \param out : input array value. ** \param size : the size of in and out arrays. */ -void dtana(double* in, double* out, int size); +void dtana(double* in, int size, double* out); /* ** \brief Float Complex Matrix Tangeant function @@ -63,7 +66,7 @@ void dtana(double* in, double* out, int size); ** \param out : input array value. ** \param size : the size of in and out arrays. */ -void ctana(floatComplex* in, floatComplex* out, int size); +void ctana(floatComplex* in, int size, floatComplex* out); /* ** \brief Double Complex Matrix Tangeant function @@ -71,6 +74,7 @@ void ctana(floatComplex* in, floatComplex* out, int size); ** \param out : input array value. ** \param size : the size of in and out arrays. */ -void ztana(doubleComplex* in, doubleComplex* out, int size); +void ztana(doubleComplex* in, int size, doubleComplex* out); +#endif /* !__TAN_H__ */ diff --git a/src/elementaryFunctions/includes/tanh.h b/src/elementaryFunctions/includes/tanh.h index 58006feb..9caf63aa 100644 --- a/src/elementaryFunctions/includes/tanh.h +++ b/src/elementaryFunctions/includes/tanh.h @@ -5,11 +5,14 @@ ** Made by Bruno JOFRET <bruno.jofret@inria.fr> ** ** Started on Tue Dec 5 15:49:18 2006 jofret -** Last update Mon Mar 19 11:47:46 2007 jofret +** Last update Mon Oct 22 08:55:49 2007 bruno ** ** Copyright INRIA 2006 */ +#ifndef __TANH_H__ +#define __TANH_H__ + #include "floatComplex.h" #include "doubleComplex.h" @@ -47,7 +50,7 @@ doubleComplex ztanhs(doubleComplex in); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void stanha(float* in, float* out, int size); +void stanha(float* in, int size, float* out); /* ** \brief Double Matrix Hyperbolic Tangeant function @@ -55,7 +58,7 @@ void stanha(float* in, float* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void dtanha(double* in, double* out, int size); +void dtanha(double* in, int size, double* out); /* ** \brief Float Complex Matrix Hyperbolic Tangeant function @@ -63,7 +66,7 @@ void dtanha(double* in, double* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void ctanha(floatComplex* in, floatComplex* out, int size); +void ctanha(floatComplex* in, int size, floatComplex* out); /* ** \brief Double Complex Matrix Hyperbolic Tangeant function @@ -71,6 +74,6 @@ void ctanha(floatComplex* in, floatComplex* out, int size); ** \param out : output array value. ** \param size : the size of in and out arrays. */ -void ztanha(doubleComplex* in, doubleComplex* out, int size); - +void ztanha(doubleComplex* in, int size, doubleComplex* out); +#endif /* !__TANH_H__ */ |