so3  1.3.0
Fast and exact Wigner transforms
so3_sampling.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 
5 #ifndef SO3_SAMPLING
6 #define SO3_SAMPLING
7 
8 #include <stdbool.h>
9 
10 #include "so3_types.h"
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 SO3_COMPLEX(double)
16 so3_sampling_weight(const so3_parameters_t *parameters, int p);
17 
18 int so3_sampling_f_size(const so3_parameters_t *parameters);
19 int so3_sampling_n(const so3_parameters_t *parameters);
20 int so3_sampling_nalpha(const so3_parameters_t *parameters);
21 int so3_sampling_nbeta(const so3_parameters_t *parameters);
22 int so3_sampling_ngamma(const so3_parameters_t *parameters);
23 
24 double so3_sampling_a2alpha(int a, const so3_parameters_t *parameters);
25 double so3_sampling_b2beta(int b, const so3_parameters_t *parameters);
26 double so3_sampling_g2gamma(int g, const so3_parameters_t *parameters);
27 
28 int so3_sampling_flmn_size(const so3_parameters_t *parameters);
30  int *ind, int el, int m, int n, const so3_parameters_t *parameters);
32  int *el, int *m, int *n, int ind, const so3_parameters_t *parameters);
34  int *ind, int el, int m, int n, const so3_parameters_t *parameters);
36  int *el, int *m, int *n, int ind, const so3_parameters_t *parameters);
38  int *n_start, int *n_stop, int *n_inc, const so3_parameters_t *parameters);
40  int *el_start,
41  int *el_stop,
42  int *el_inc,
43  const int n,
44  const so3_parameters_t *parameters);
45 void so3_sampling_m_loop_values(int *m_start, int *m_stop, int *m_inc, const int el);
47  const int el, const int m, const int n, const so3_parameters_t *parameters);
49  const int el, const int m, const int n, const so3_parameters_t *parameters);
50 
51 #ifdef __cplusplus
52 }
53 #endif
54 #endif
so3_sampling_m_loop_values
void so3_sampling_m_loop_values(int *m_start, int *m_stop, int *m_inc, const int el)
Definition: so3_sampling.c:803
so3_sampling_is_elmn_non_zero_return_int
int so3_sampling_is_elmn_non_zero_return_int(const int el, const int m, const int n, const so3_parameters_t *parameters)
Definition: so3_sampling.c:879
so3_sampling_ind2elmn
void so3_sampling_ind2elmn(int *el, int *m, int *n, int ind, const so3_parameters_t *parameters)
Definition: so3_sampling.c:455
so3_sampling_a2alpha
double so3_sampling_a2alpha(int a, const so3_parameters_t *parameters)
Definition: so3_sampling.c:224
so3_sampling_f_size
int so3_sampling_f_size(const so3_parameters_t *parameters)
Definition: so3_sampling.c:80
so3_parameters_t
Definition: so3_types.h:130
so3_sampling_nalpha
int so3_sampling_nalpha(const so3_parameters_t *parameters)
Definition: so3_sampling.c:142
so3_sampling_flmn_size
int so3_sampling_flmn_size(const so3_parameters_t *parameters)
Definition: so3_sampling.c:316
so3_sampling_el_loop_values
void so3_sampling_el_loop_values(int *el_start, int *el_stop, int *el_inc, const int n, const so3_parameters_t *parameters)
Definition: so3_sampling.c:775
so3_sampling_weight
so3_sampling_weight(const so3_parameters_t *parameters, int p)
Definition: so3_sampling.c:32
so3_sampling_g2gamma
double so3_sampling_g2gamma(int g, const so3_parameters_t *parameters)
Definition: so3_sampling.c:288
so3_types.h
SO3_COMPLEX
#define SO3_COMPLEX(TYPE)
Definition: so3_types.h:35
so3_sampling_b2beta
double so3_sampling_b2beta(int b, const so3_parameters_t *parameters)
Definition: so3_sampling.c:256
so3_sampling_ngamma
int so3_sampling_ngamma(const so3_parameters_t *parameters)
Definition: so3_sampling.c:197
so3_sampling_is_elmn_non_zero
bool so3_sampling_is_elmn_non_zero(const int el, const int m, const int n, const so3_parameters_t *parameters)
Definition: so3_sampling.c:856
so3_sampling_nbeta
int so3_sampling_nbeta(const so3_parameters_t *parameters)
Definition: so3_sampling.c:173
so3_sampling_n_loop_values
void so3_sampling_n_loop_values(int *n_start, int *n_stop, int *n_inc, const so3_parameters_t *parameters)
Definition: so3_sampling.c:677
so3_sampling_n
int so3_sampling_n(const so3_parameters_t *parameters)
Definition: so3_sampling.c:112
so3_sampling_elmn2ind_real
void so3_sampling_elmn2ind_real(int *ind, int el, int m, int n, const so3_parameters_t *parameters)
Definition: so3_sampling.c:571
so3_sampling_ind2elmn_real
void so3_sampling_ind2elmn_real(int *el, int *m, int *n, int ind, const so3_parameters_t *parameters)
Definition: so3_sampling.c:626
so3_sampling_elmn2ind
void so3_sampling_elmn2ind(int *ind, int el, int m, int n, const so3_parameters_t *parameters)
Definition: so3_sampling.c:369