IntegrationRules.GaussGegenbauer Method

Constructs a new Gauss-Gegenbauer quadrature rule.

Definition

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

Parameters

n  Int32
The number of points in the quadrature rule.
alpha  Double
The alpha parameter of the Gegenbauer polynomial.

Return Value

SimpleIntegrationRule
A Gauss-Gegenbauer quadrature rule of order n.

Remarks

Gauss-Gegenbauer rules are a form of Gaussian quadrature based on Gegenbauer polynomials.

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

See Also