Ssht  1.3.3
Fast and exact spin spherical harmonic transforms
ssht_types.h
Go to the documentation of this file.
1 // SSHT package to perform spin spherical harmonic transforms
2 // Copyright (C) 2011 Jason McEwen
3 // See LICENSE.txt for license details
4 
35 #ifndef SSHT_TYPES
36 #define SSHT_TYPES
37 
38 #define SSHT_PI 3.141592653589793238462643383279502884197
39 #define SSHT_PION2 1.570796326794896619231321691639751442099
40 
41 #define SSHT_SQRT2 1.41421356237309504880168872420969807856967
42 
43 
44 
45 #define SSHT_PROMPT "[ssht] "
46 
47 #ifdef __cplusplus
48 #include <complex>
49 typedef std::complex<double> ssht_complex_double;
50 extern "C" {
51 #else
52 #include <tgmath.h>
53 typedef double complex ssht_complex_double;
54 #endif
55 
56 
57 #ifdef __cplusplus
58 }
59 #endif
60 
61 
62 #endif
ssht_complex_double
double complex ssht_complex_double
Definition: ssht_types.h:53