Legendre pseudospectral method (source code)

= Legendre pseudospectral method
{wiki=Legendre_pseudospectral_method}

The Legendre pseudospectral method is a numerical technique used for solving differential equations, particularly those that are initial or boundary value problems. It is part of the broader field of spectral methods, which involve expanding the solution of a differential equation in terms of a set of basis functions—in this case, the Legendre polynomials. Here are key aspects of the Legendre pseudospectral method: 1. **Basis Functions**: The method uses Legendre polynomials as basis functions.