IntegrationRules.ClenshawCurtis Method

Constructs a new Clenshaw-Curtis quadrature rule that uses the extrema of a Chebyshev polynomial as nodes.

Definition

Namespace: Numerics.NET.Calculus
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.6
C#
public static SimpleIntegrationRule ClenshawCurtis(
	int n
)

Parameters

n  Int32
The number of points in the quadrature rule.

Return Value

SimpleIntegrationRule
A Clenshaw-Curtis quadrature rule of order n.

Remarks

Clenshaw-Curtis rules are based on Chebyshev polynomials. In practical applications, they are about as good as Gauss-Legendre rules.

The rule is valid over the interval [-1, 1].

See Also