|
LevelS SHT library
3.50
|
Go to the source code of this file.
Functions | |
| void | sharp_legendre_roots (int n, double *x, double *w) |
Copyright (C) 2006-2012 Max-Planck-Society
Definition in file sharp_legendre_roots.h.
| void sharp_legendre_roots | ( | int | n, |
| double * | x, | ||
| double * | w | ||
| ) |
Computes roots and Gaussian quadrature weights for Legendre polynomial of degree n.
| n | Order of Legendre polynomial |
| x | Array of length n for output (root position) |
| w | Array of length w for output (weight for Gaussian quadrature) |
Definition at line 16 of file sharp_legendre_roots.c.