The R Project SVN R

Rev

Rev 7727 | Rev 12778 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7727 Rev 11211
Line 19... Line 19...
19
 */
19
 */
20
 
20
 
21
#ifndef R_COMPLEX_H
21
#ifndef R_COMPLEX_H
22
#define R_COMPLEX_H
22
#define R_COMPLEX_H
23
 
23
 
-
 
24
#ifdef  __cplusplus
-
 
25
extern "C" {
-
 
26
#endif
-
 
27
 
24
typedef struct {
28
typedef struct {
25
	double r;
29
	double r;
26
	double i;
30
	double i;
27
} Rcomplex;
31
} Rcomplex;
28
 
32
 
29
/* This will go away in due course */
33
/* This will go away in due course */
30
#ifdef R_OLD_COMPLEX
34
#ifdef R_OLD_COMPLEX
31
typedef Rcomplex complex;
35
typedef Rcomplex complex;
32
#endif
36
#endif
33
 
37
 
-
 
38
#ifdef  __cplusplus
-
 
39
}
34
#endif
40
#endif
-
 
41
 
-
 
42
#endif /* R_COMPLEX_H */