From 06da3df2ff648931ce65ed91bf516062828b2354 Mon Sep 17 00:00:00 2001 From: jofret Date: Fri, 1 Dec 2006 15:37:45 +0000 Subject: Quite a good DouComplex lib... Will probably be improved later... --- src/type/doubleComplex.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/type/doubleComplex.h') diff --git a/src/type/doubleComplex.h b/src/type/doubleComplex.h index 7d96b72f..c1943e0e 100644 --- a/src/type/doubleComplex.h +++ b/src/type/doubleComplex.h @@ -5,7 +5,7 @@ ** Made by Bruno JOFRET ** ** Started on Thu Nov 30 16:50:08 2006 jofret -** Last update Thu Nov 30 17:53:13 2006 jofret +** Last update Fri Dec 1 15:17:05 2006 jofret ** ** Copyright INRIA 2006 */ @@ -13,6 +13,8 @@ #ifndef __DOUBLECOMPLEX_H__ #define __DOUBLECOMPLEX_H__ +#include + struct double_complex { double real; @@ -24,5 +26,7 @@ typedef struct double_complex doubleComplex; double real(doubleComplex); double imag(doubleComplex); doubleComplex DoubleComplex(double, double); +bool isreal(doubleComplex); +bool isimag(doubleComplex); #endif /* !__DOUBLECOMPLEX_H__ */ -- cgit