PiecewiseCurve.OnParameterChanging Method

Called before the value of a curve parameter is changed.

Definition

Namespace: Numerics.NET.Curves
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
protected override void OnParameterChanging(
	int index,
	double value
)

Parameters

index  Int32
An integer specifying the index of the coefficient.
value  Double
The value of the new coefficient.

Remarks

This method is called internally to ensure that the X values remain in ascending order.

Exceptions

ArgumentException

Setting the value to would cause the X values to no longer be in ascending order.

See Also