SimpleIntegrationRule Constructor

Initializes a new instance of the SimpleIntegrationRule class.

Definition

Namespace: Numerics.NET.Calculus
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.6
C#
public SimpleIntegrationRule(
	double[] nodes,
	double[] weights,
	int order,
	double lowerBound = -1,
	double upperBound = 1,
	Func<double, double> weightFunction = null
)

Parameters

nodes  Double[]
The nodes of the quadrature rule.
weights  Double[]
The weights of the quadrature rule.
order  Int32
The order of the quadrature rule.
lowerBound  Double  (Optional)
The lower bound of the rule's natural integration interval.
upperBound  Double  (Optional)
The upper bound of the rule's natural integration interval.
weightFunction  Func<Double, Double>  (Optional)
The weight function associated with the quadrature rule.

See Also