wigner.h
Go to the documentation of this file.
/*
* Copyright (c) 2002, 2017 Jens Keiner, Stefan Kunis, Daniel Potts
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option) any later
* version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, write to the Free Software Foundation, Inc., 51
* Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef WIGNER_H
#define WIGNER_H
double SO3_alpha(int k, int m, int l);
double SO3_beta(int k, int m, int l);
double SO3_gamma(int k, int m, int l);
void SO3_alpha_row(double *alpha, int N, int m, int n);
void SO3_beta_row(double *beta, int N, int m, int n);
void SO3_gamma_row(double *gamma, int N, int m, int n);
void SO3_alpha_matrix(double *alpha, int N, int n);
void SO3_beta_matrix(double *beta, int N, int n);
void SO3_gamma_matrix(double *gamma, int N, int n);
void SO3_alpha_all(double *alpha, int N);
void SO3_beta_all(double *beta, int N);
void SO3_gamma_all(double *gamma, int N);
void eval_wigner(double *x, double *y, int size, int l, double *alpha,
double *beta, double *gamma);
int eval_wigner_thresh(double *x, double *y, int size, int l, double *alpha,
double *beta, double *gamma, double threshold);
double wigner_start(int n1, int n2, double theta);
#endif
wigner_start
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:317
SO3_gamma_row
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:104
SO3_gamma_matrix
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:142
SO3_alpha_all
void SO3_alpha_all(double *alpha, int N)
Compute three-term-recurrence coefficients of Wigner-d functions for all and .
Definition: wigner.c:158
SO3_beta_row
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:96
SO3_alpha_matrix
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:114
SO3_gamma_all
void SO3_gamma_all(double *gamma, int N)
Compute three-term-recurrence coefficients of Wigner-d functions for all and .
Definition: wigner.c:198
SO3_alpha
double SO3_alpha(int k, int m, int l)
Computes three-term recurrence coefficients of Wigner-d functions.
Definition: wigner.c:25
SO3_beta
double SO3_beta(int k, int m, int l)
Computes three-term recurrence coefficients of Wigner-d functions.
Definition: wigner.c:52
SO3_gamma
double SO3_gamma(int k, int m, int l)
Computes three-term recurrence coefficients of Wigner-d functions.
Definition: wigner.c:73
SO3_alpha_row
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:88
SO3_beta_matrix
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:128
SO3_beta_all
void SO3_beta_all(double *beta, int N)
Compute three-term-recurrence coefficients of Wigner-d functions for all and .
Definition: wigner.c:181
eval_wigner_thresh
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:260
eval_wigner
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:215