IntegrationRules.GaussJacobi Method

Constructs a new Gauss-Jacobi quadrature rule.

Definition

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

Parameters

n  Int32
The number of points in the quadrature rule.
alpha  Double
The alpha parameter of the Jacobi polynomial. Must be greater than -1.
beta  Double
The beta parameter of the Jacobi polynomial. Must be greater than -1.

Return Value

SimpleIntegrationRule
A Gauss-Jacobi quadrature rule of order n.

Remarks

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

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

Exceptions

ArgumentOutOfRangeException

n is less than or equal to 0.

-or-

alpha is less than or equal to -1.

-or-

beta is less than or equal to -1.

See Also