so3  1.3.0
Fast and exact Wigner transforms
so3_types.h
Go to the documentation of this file.
1 // S03 package to perform Wigner transform on the rotation group SO(3)
2 // Copyright (C) 2013 Martin Büttner and Jason McEwen
3 // See LICENSE.txt for license details
4 
26 #ifndef SO3_TYPES
27 #define SO3_TYPES
28 
29 #include <ssht/ssht.h>
30 #ifdef __cplusplus
31 #include <complex>
32 #define SO3_COMPLEX(TYPE) std::complex<TYPE>
33 extern "C" {
34 #else
35 #define SO3_COMPLEX(TYPE) TYPE complex
36 #endif
37 
38 
39 #ifdef __cplusplus
40 }
41 #endif
42 
43 #define SO3_PI 3.141592653589793238462643383279502884197
44 #define SO3_PION2 1.570796326794896619231321691639751442099
45 
46 #define SO3_SQRT2 1.41421356237309504880168872420969807856967
47 
48 #define SO3_PROMPT "[so3] "
49 
50 typedef enum {
61 
62 typedef enum {
73 
74 typedef enum {
91 
92 typedef enum {
113 
130 typedef struct {
136 
143  int reality;
144 
149  int L0;
150 
156  int L;
157 
163  int N;
164 
170 
177 
183 
190 
195  ssht_dl_method_t dl_method;
196 
202 
203 #endif
so3_n_mode_t
so3_n_mode_t
Definition: so3_types.h:74
SO3_N_ORDER_ZERO_FIRST
@ SO3_N_ORDER_ZERO_FIRST
Definition: so3_types.h:52
SO3_N_MODE_ALL
@ SO3_N_MODE_ALL
Definition: so3_types.h:76
SO3_N_ORDER_SIZE
@ SO3_N_ORDER_SIZE
Definition: so3_types.h:59
so3_parameters_t
Definition: so3_types.h:130
so3_parameters_t::N
int N
Definition: so3_types.h:163
SO3_N_MODE_ODD
@ SO3_N_MODE_ODD
Definition: so3_types.h:80
SO3_SAMPLING_MW
@ SO3_SAMPLING_MW
Definition: so3_types.h:99
so3_parameters_t::reality
int reality
Definition: so3_types.h:143
SO3_N_MODE_L
@ SO3_N_MODE_L
Definition: so3_types.h:84
SO3_SAMPLING_SIZE
@ SO3_SAMPLING_SIZE
Definition: so3_types.h:111
SO3_N_MODE_SIZE
@ SO3_N_MODE_SIZE
Definition: so3_types.h:89
SO3_N_ORDER_NEGATIVE_FIRST
@ SO3_N_ORDER_NEGATIVE_FIRST
Definition: so3_types.h:54
so3_parameters_t::L0
int L0
Definition: so3_types.h:149
so3_storage_t
so3_storage_t
Definition: so3_types.h:62
so3_parameters_t::dl_method
ssht_dl_method_t dl_method
Definition: so3_types.h:195
so3_parameters_t::n_mode
so3_n_mode_t n_mode
Definition: so3_types.h:189
SO3_STORAGE_SIZE
@ SO3_STORAGE_SIZE
Definition: so3_types.h:71
SO3_STORAGE_COMPACT
@ SO3_STORAGE_COMPACT
Definition: so3_types.h:66
SO3_SAMPLING_MW_SS
@ SO3_SAMPLING_MW_SS
Definition: so3_types.h:106
so3_parameters_t::verbosity
int verbosity
Definition: so3_types.h:135
SO3_STORAGE_PADDED
@ SO3_STORAGE_PADDED
Definition: so3_types.h:64
so3_n_order_t
so3_n_order_t
Definition: so3_types.h:50
so3_parameters_t::sampling_scheme
so3_sampling_t sampling_scheme
Definition: so3_types.h:169
so3_parameters_t::n_order
so3_n_order_t n_order
Definition: so3_types.h:176
SO3_N_MODE_EVEN
@ SO3_N_MODE_EVEN
Definition: so3_types.h:78
so3_parameters_t::steerable
int steerable
Definition: so3_types.h:200
so3_parameters_t::L
int L
Definition: so3_types.h:156
SO3_N_MODE_MAXIMUM
@ SO3_N_MODE_MAXIMUM
Definition: so3_types.h:82
so3_sampling_t
so3_sampling_t
Definition: so3_types.h:92
so3_parameters_t::storage
so3_storage_t storage
Definition: so3_types.h:182