diff options
Diffstat (limited to 'src/elementaryFunctions/includes/sqrt.h')
-rw-r--r-- | src/elementaryFunctions/includes/sqrt.h | 15 |
1 files changed, 9 insertions, 6 deletions
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__ */ |