VIP: Volume Image Processing


vcomplex.h
Go to the documentation of this file.
1/*****************************************************************************
2 * PROJECT : V.I.P. Library
3 * MODULE NAME : vip/vcomplex.h * TYPE : Header
4 * AUTHOR : POUPON F. * CREATION : 20/11/1996
5 * VERSION : 0.1 * REVISION :
6 * LANGUAGE : C * EXAMPLE :
7 * DEVICE : Sun SPARC Station 5
8 *****************************************************************************
9 *
10 * DESCRIPTION : eclarations liees au calcul sur des complexes
11 * cpoupon@cea.fr
12 *
13 *****************************************************************************
14 *
15 * USED MODULES :
16 *
17 *****************************************************************************
18 * REVISIONS : DATE | AUTHOR | DESCRIPTION
19 *--------------------|--------------|----------------------------------------
20 * / / | |
21 *****************************************************************************/
22
23
24#ifndef VIP_COMPLEX_H
25#define VIP_COMPLEX_H
26
27#ifdef __cplusplus
28 extern "C" {
29#endif
30
31#include <math.h>
32#include <float.h>
33#include <vip/util.h>
34
35#ifndef M_PI
36#define M_PI 3.14159265358979323846
37#endif
38
39#ifndef PI
40#define PI M_PI
41#endif
42
43#include <vip/vcomplex/vcomplex_gen.h>
44
45#define mVipRealPart(c) ((c).re)
46#define mVipImaginaryPart(c) ((c).im)
47
48#ifdef __cplusplus
49 }
50#endif
51
52#endif