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.1.4
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