diff options
Diffstat (limited to 'src/auxiliaryFunctions/includes/abs.h')
-rw-r--r-- | src/auxiliaryFunctions/includes/abs.h | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/src/auxiliaryFunctions/includes/abs.h b/src/auxiliaryFunctions/includes/abs.h index fa302db6..3cb6bf85 100644 --- a/src/auxiliaryFunctions/includes/abs.h +++ b/src/auxiliaryFunctions/includes/abs.h @@ -5,7 +5,7 @@ ** Made by Bruno JOFRET <bruno.jofret@inria.fr> ** ** Started on Thu Feb 8 10:12:17 2007 jofret -** Last update Fri Apr 20 15:53:57 2007 jofret +** Last update Mon Apr 23 17:10:57 2007 jofret ** ** Copyright INRIA 2007 */ @@ -13,6 +13,11 @@ #ifndef __ABS_H__ #define __ABS_H__ +#include "floatComplex.h" +#include "doubleComplex.h" +#include "sqrt.h" + + /** ** \brief Float Absolute Value function ** Determine the absolute value of in. @@ -29,4 +34,20 @@ float sabss(float in); **/ double dabss(double in); +/** + ** \brief Float Complex Absolute Value function + ** Determine the absolute value of in. + ** \param in : the float complex we must determine abs i.e. module. + ** \return -in or in depending on the sign of in. + **/ +float cabss(floatComplex in); + +/** + ** \brief Double Absolute Value function + ** Determine the absolute value of in. + ** \param in : the double we must determine abs i.e. module. + ** \return -in or +in depending on the abs of in. + **/ +double zabss(doubleComplex in); + #endif /* !__ABS_H__ */ |