ARTS
2.4.0(git:4fb77825)
|
Contains the code to calculate Legendre polynomials. More...
Go to the source code of this file.
Classes | |
struct | gsl_integration_glfixed_table |
g_legendre_poly
Returns the associated Legendre polynomial Plm(x) without the factor (-1)^m.
The input parameters must fulfill the following conditions: 0 <= m <= l and |x| <= 1
The code is based on the Numerical recipes. Results were compared to the Legendre calculations from the GNU Scientific library and found to be identical.
l | Index |
m | Index |
x | Value |
Definition at line 290 of file legendre.cc.
References abs, ll, sqrt(), and ARTS::Var::x().
Referenced by g_legendre_poly_deriv(), g_legendre_poly_norm_schmidt(), g_legendre_poly_norm_schmidt_deriv(), g_legendre_poly_norm_schmidt_deriv1(), g_legendre_poly_norm_schmidt_deriv2(), g_legendre_poly_norm_schmidt_deriv3(), and g_legendre_poly_norm_schmidt_deriv4().
g_legendre_poly_deriv
Returns the derivative of the associated Legendre polynomial Plm(x)) without the factor (-1)^m..
The input parameters must fulfill the following conditions: 0 <= m <= l and |x| < 1
l | Index |
m | Index |
x | Value |
Definition at line 385 of file legendre.cc.
References g_legendre_poly(), sqrt(), and ARTS::Var::x().
g_legendre_poly_norm_schmidt
Returns the Schmidt quasi-normalized associated Legendre polynomial Plm(x)) without the factor (-1)^m..
The input parameters must fulfill the following conditions: 0 <= m <= l and |x| <= 1
The code is based on the Numerical recipes. Results were compared to the Legendre calculations from the GNU Scientific library and found to be identical.
l | Index |
m | Index |
x | Value |
Definition at line 355 of file legendre.cc.
References fac(), g_legendre_poly(), sqrt(), and ARTS::Var::x().
g_legendre_poly_norm_schmidt_deriv
Returns the derivative of the Schmidt quasi-normalized associated Legendre polynomial Plm(x)) without the factor (-1)^m.
The input parameters must fulfill the following conditions: 0 <= m <= l and |x| < 1
l | Index |
m | Index |
x | Value |
Definition at line 451 of file legendre.cc.
References fac(), g_legendre_poly(), sqrt(), and ARTS::Var::x().
g_legendre_poly_norm_schmidt_deriv1
Returns the derivative of the Schmidt quasi-normalized associated Legendre polynomial Plm(x)) without the factor (-1)^m. Utilizes the simplest recurrence scheme.
The input parameters must fulfill the following conditions: 0 <= m <= l and |x| < 1
l | Index |
m | Index |
x | Value |
Definition at line 522 of file legendre.cc.
References fac(), g_legendre_poly(), sqrt(), and ARTS::Var::x().
g_legendre_poly_norm_schmidt_deriv2
Returns the derivative of the Schmidt quasi-normalized associated Legendre polynomial Plm(x)) without the factor (-1)^m.
The input parameters must fulfill the following conditions: 0 <= m <= l and |x| < 1
l | Index |
m | Index |
x | Value |
Definition at line 594 of file legendre.cc.
References fac(), g_legendre_poly(), sqrt(), and ARTS::Var::x().
g_legendre_poly_norm_schmidt_deriv3
Returns the derivative of the Schmidt quasi-normalized associated Legendre polynomial Plm(x)) without the factor (-1)^m.
The input parameters must fulfill the following conditions: 0 <= m <= l and |x| < 1
l | Index |
m | Index |
x | Value |
Definition at line 663 of file legendre.cc.
References fac(), g_legendre_poly(), sqrt(), and ARTS::Var::x().
g_legendre_poly_norm_schmidt_deriv4
Returns the derivative of the Schmidt quasi-normalized associated Legendre polynomial Plm(x)) without the factor (-1)^m.
The input parameters must fulfill the following conditions: 0 <= m <= l and |x| < 1
l | Index |
m | Index |
x | Value |
Definition at line 732 of file legendre.cc.
References fac(), g_legendre_poly(), sqrt(), and ARTS::Var::x().
gsl_integration_glfixed_table_alloc
This function determines the Gauss-Legendre abscissae and weights necessary for an n-point fixed order integration scheme. If possible, high precision precomputed coefficients are used. If precomputed weights are not available, lower precision coefficients are computed on the fly.
Code is taken from the GNU Scientific Library under GPLv3 license. Adapted to return ARTS datatypes.
[out] | x | Vector with Gauss-Legendre abscissae. |
[out] | w | Vector with Gauss-Legendre weights. |
[in] | n | Integration scheme order. |
Definition at line 2685 of file legendre.cc.
References w(), and ARTS::Var::x().
Referenced by AngularGridsSetFluxCalc(), and test_gsl_int().
legendre_poly
Returns the associated Legendre polynomial Plm(x).
The input parameters must fulfill the following conditions: 0 <= m <= l and |x| <= 1
The code is based on the Numerical recipes. Results were compared to the Legendre calculations from the GNU Scientific library and found to be identical.
l | Index |
m | Index |
x | Value |
Definition at line 58 of file legendre.cc.
References abs, ll, sqrt(), and ARTS::Var::x().
Referenced by legendre_poly_deriv(), legendre_poly_norm_schmidt(), and main().
legendre_poly_deriv
Returns the derivative of the associated Legendre polynomial Plm(x).
The input parameters must fulfill the following conditions: 0 <= m <= l and |x| < 1
l | Index |
m | Index |
x | Value |
Definition at line 151 of file legendre.cc.
References legendre_poly(), sqrt(), and ARTS::Var::x().
Referenced by main().
legendre_poly_norm_schmidt
Returns the Schmidt quasi-normalized associated Legendre polynomial Plm(x).
The input parameters must fulfill the following conditions: 0 <= m <= l and |x| <= 1
The code is based on the Numerical recipes. Results were compared to the Legendre calculations from the GNU Scientific library and found to be identical.
l | Index |
m | Index |
x | Value |
Definition at line 122 of file legendre.cc.
References fac(), legendre_poly(), sqrt(), and ARTS::Var::x().
Referenced by legendre_poly_norm_schmidt_deriv(), and main().
legendre_poly_norm_schmidt_deriv
Returns the derivative of the Schmidt quasi-normalized associated Legendre polynomial Plm(x).
The input parameters must fulfill the following conditions: 0 <= m <= l and |x| < 1
l | Index |
m | Index |
x | Value |
Definition at line 216 of file legendre.cc.
References fac(), legendre_poly_norm_schmidt(), sqrt(), and ARTS::Var::x().
Referenced by main().