Динамический метод численного интегрирования Гаусса-Лежандра на C#: вычисляем узлы и веса «на лету» без переполнения

habrahabr.ru · world
Full story

The article opens by noting that numerical integration is often done with constant-step methods such as the rectangle rule, the trapezoidal rule, and Simpson's rule. In some cases, though, methods with a variable step turn out to be far more efficient. The piece focuses on one of these, the Gauss-Legendre method. The headline promises a C# implementation that computes the nodes and weights on the fly without overflow, though the opening text itself stops at the general introduction.

Существуют ряд распространенных методов численного интегрирования с постоянным шагом: метод прямоугольников, трапеций Симпсона (парабол). Но оказывается, что в некоторых случаях гораздо эффективнее использовать методы с переменным шагом. Сегодня мы как раз рассмотрим один из таких методов – метод Гаусса-Лежандра. Читать далее

Read full article → Compare