TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
Loading...
Searching...
No Matches
legendre.hpp
#include <array>
#include <complex>
#include <nda/macros.hpp>

Detailed Description

Provides Legendre polynomials and related functions.

Definition in file legendre.hpp.

Go to the source code of this file.

Classes

class  triqs::utility::legendre_generator
 Recursive generation of Legendre polynomials \( P_l(x) \). More...

Functions

std::complex< double > triqs::utility::legendre_T (int n, int l)
 Get the quantity \( T_{nl} \) from Eq.(E2) in the paper https://doi.org/10.1103/PhysRevB.84.075145.
double triqs::utility::legendre_t (int l, int p)
 Get the quantity \( t_l^{(p)} \) from Eq.(E8) in the paper https://doi.org/10.1103/PhysRevB.84.075145.
double triqs::utility::mod_cyl_bessel_i (int n, double x)
 Get the modified spherical bessel function \( i_n(x) \) of the first kind of order \( n \) evaluated at \( x \).