PiecewiseLinearCurve.FindRoots Method

Gets the set of X-coordinates where the curve crosses the X-axis.

Definition

Namespace: Numerics.NET.Curves
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public override double[] FindRoots()

Return Value

Double[]
An array of X-coordinates where the curve crosses the X-axis.

Remarks

This method returns individual zeros. If two successive data points have zero y-values, then the entire interval is zero. In such a case, only the x-values corresponding to the data points are returned.

See Also