NFFT  3.3.0
wigner.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2002, 2015 Jens Keiner, Stefan Kunis, Daniel Potts
3  *
4  * This program is free software; you can redistribute it and/or modify it under
5  * the terms of the GNU General Public License as published by the Free Software
6  * Foundation; either version 2 of the License, or (at your option) any later
7  * version.
8  *
9  * This program is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
12  * details.
13  *
14  * You should have received a copy of the GNU General Public License along with
15  * this program; if not, write to the Free Software Foundation, Inc., 51
16  * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17  */
18 
19 /* $Id$ */
20 
28 #ifndef WIGNER_H
29 #define WIGNER_H
30 
39 double SO3_alpha(int k, int m, int l);
48 double SO3_beta(int k, int m, int l);
57 double SO3_gamma(int k, int m, int l);
67 void SO3_alpha_row(double *alpha, int N, int m, int n);
77 void SO3_beta_row(double *beta, int N, int m, int n);
87 void SO3_gamma_row(double *gamma, int N, int m, int n);
97 void SO3_alpha_matrix(double *alpha, int N, int n);
107 void SO3_beta_matrix(double *beta, int N, int n);
117 void SO3_gamma_matrix(double *gamma, int N, int n);
118 
127 void SO3_alpha_all(double *alpha, int N);
136 void SO3_beta_all(double *beta, int N);
145 void SO3_gamma_all(double *gamma, int N);
146 
162 void eval_wigner(double *x, double *y, int size, int l, double *alpha,
163  double *beta, double *gamma);
180 int eval_wigner_thresh(double *x, double *y, int size, int l, double *alpha,
181  double *beta, double *gamma, double threshold);
182 
195 double wigner_start(int n1, int n2, double theta);
196 
197 #endif
double wigner_start(int n1, int n2, double theta)
A method used for debugging, gives the values to start the "old" three-term recurrence generates WHE...
Definition: wigner.c:319
void SO3_gamma_row(double *gamma, int N, int m, int n)
Compute three-term-recurrence coefficients of Wigner-d functions for all degrees ...
Definition: wigner.c:106
void SO3_gamma_matrix(double *gamma, int N, int n)
Compute three-term-recurrence coefficients of Wigner-d functions for all order and degrees ...
Definition: wigner.c:144
void SO3_alpha_all(double *alpha, int N)
Compute three-term-recurrence coefficients of Wigner-d functions for all and .
Definition: wigner.c:160
void SO3_beta_row(double *beta, int N, int m, int n)
Compute three-term-recurrence coefficients of Wigner-d functions for all degrees ...
Definition: wigner.c:98
void SO3_alpha_matrix(double *alpha, int N, int n)
Compute three-term-recurrence coefficients of Wigner-d functions for all order and degrees ...
Definition: wigner.c:116
void SO3_gamma_all(double *gamma, int N)
Compute three-term-recurrence coefficients of Wigner-d functions for all and .
Definition: wigner.c:200
double SO3_alpha(int k, int m, int l)
Computes three-term recurrence coefficients of Wigner-d functions.
Definition: wigner.c:27
double SO3_beta(int k, int m, int l)
Computes three-term recurrence coefficients of Wigner-d functions.
Definition: wigner.c:54
double SO3_gamma(int k, int m, int l)
Computes three-term recurrence coefficients of Wigner-d functions.
Definition: wigner.c:75
void SO3_alpha_row(double *alpha, int N, int m, int n)
Compute three-term-recurrence coefficients of Wigner-d functions for all degrees ...
Definition: wigner.c:90
void SO3_beta_matrix(double *beta, int N, int n)
Compute three-term-recurrence coefficients of Wigner-d functions for all order and degrees ...
Definition: wigner.c:130
void SO3_beta_all(double *beta, int N)
Compute three-term-recurrence coefficients of Wigner-d functions for all and .
Definition: wigner.c:183
int eval_wigner_thresh(double *x, double *y, int size, int l, double *alpha, double *beta, double *gamma, double threshold)
Evaluates Wigner-d functions using the Clenshaw-algorithm if it not exceeds a given threshold...
Definition: wigner.c:262
void eval_wigner(double *x, double *y, int size, int l, double *alpha, double *beta, double *gamma)
Evaluates Wigner-d functions using the Clenshaw-algorithm.
Definition: wigner.c:217