FunctionMathFindZero(FuncDouble, Double, Interval) Method

Isolates a root within a given interval.

Definition

Namespace: Meta.Numerics.Analysis
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public static double FindZero(
	Func<double, double> f,
	Interval bracket
)

Parameters

f  FuncDouble, Double
The function whoose zero is sought.
bracket  Interval
An interval bracketing the root.

Return Value

Double
An ordinate within the bracket at which the function has a zero.

Exceptions

InvalidOperationExceptionThe function does not change sign across the given interval.

See Also