Expand description
General Information
Calculation of quad-pair for Gauss-Legendre integration. in contrast to it’s tabulated version, these are calculated via the hardcoded constants and a series of approximations. Returns the j-th zero of the n-th Legendre polynomial alongside the domain element which, upon evaluation of the polynomial, would result in such a zero.
Parameters
n
- the n-th Legendre polynomialk
- the k-th zero of the n-th Legendre polynomial