Квадратури й поліноміальний хаос

Будує вузли й ваги Гауса-Лежандра та Гауса-Ерміта, а за коефіцієнтами розкладу рахує середнє, дисперсію й моменти полінома.

Builds Gauss-Legendre and Gauss-Hermite nodes and weights, and computes the mean, variance and moments of a polynomial from its expansion coefficients.