GaussKronrodRule<T>.GetGaussWeights Method

Gets an array specifying the weights associated with the Gaussian quadrature points for this GaussKronrodRule.

Definition

Namespace: Numerics.NET.Calculus.Generic
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.1
C#
protected T[] GetGaussWeights()

Return Value

T[]
A T array containing the Gauss weights.

Remarks

This array contains the weights for the Gauss integration formula. The weights correspond to the points with odd indexes in the GetKronrodPoints() array. If the order of the Gauss formula is odd, the last element of this array should specify the weight for the midpoint of the integration interval.

See Also