Curve.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.2
C#
public virtual double[] FindRoots()

Return Value

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

Remarks

When implemented by a derived class, this method returns at least one of the zeros of the curve, if it has one. By default, this method returns an empty array, indicating that no zeros were found.

See Also