Integration Rules.Gauss Legendre Method
Constructs a new Gauss-Legendre quadrature rule.
Definition
Namespace: Numerics.NET.Calculus
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.6
C#
A Gauss-Legendre quadrature rule of order n.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.6
public static SimpleIntegrationRule GaussLegendre(
int n
)
Parameters
- n Int32
- The number of points in the quadrature rule.
Return Value
SimpleIntegrationRuleA Gauss-Legendre quadrature rule of order n.
Remarks
Gauss-Legendre rules are a form of Gaussian quadrature based on Legendre polynomials.
The rule is valid over the interval [-1, 1].