Click or drag to resize

FunctionMath.FindZero Method (Func<Double, Double>, Interval)

Isolates a root within a given interval.

Namespace:  Meta.Numerics.Analysis
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax
public static double FindZero(
	Func<double, double> f,
	Interval bracket
)

Parameters

f
Type: System.Func<Double, Double>
The function whoose zero is sought.
bracket
Type: Meta.Numerics.Interval
An interval bracketing the root.

Return Value

Type: Double
An ordinate within the bracket at which the function has a zero.
Exceptions
ExceptionCondition
InvalidOperationExceptionThe function does not change sign across the given interval.
See Also