lib.theory.gaussian_covariance.legendre_product_integral¶
- lib.theory.gaussian_covariance.legendre_product_integral(ells, range=(- 1, 1), norm=False)¶
Return integral of product of Legendre polynomials.
- Parameters
ells (int, list, tuple) – Order(s) of Legendre polynomials to multiply together.
range (tuple, default=(-1,1)) – \(\mu\)-integration range.
norm (bool, default=False) – Whether to normalize integral by the \(\mu\)-integration range.
- Returns
toret – Integral of product of Legendre polynomials.
- Return type
float