Curve<T>.FindRoots Method

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

Definition

Namespace: Numerics.NET.Curves.Generic
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.1
C#
public virtual T[] FindRoots()

Return Value

T[]
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