FunctionMath.FindZero Method (Func(Double, Double), Interval)
Click or drag to resize

FunctionMathFindZero Method (FuncDouble, Double, Interval)

Isolates a root within a given interval.

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

Parameters

f
Type: SystemFuncDouble, Double
The function whoose zero is sought.
bracket
Type: Meta.NumericsInterval
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