GaussKronrodRule<T>.GetGaussWeights Method
Gets an array specifying
the weights associated with the Gaussian quadrature
points for this GaussKronrodRule.
DefinitionPermalink
Namespace: Numerics.NET.Calculus.Generic
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.7
C#
A T array containing the Gauss weights.
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.7
protected T[] GetGaussWeights()
Return ValuePermalink
T[]A T array containing the Gauss weights.
RemarksPermalink
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.