Isolates a root within a given interval.

Namespace:  Meta.Numerics.Functions
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 1.5.0.0 (1.5.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static double FindZero(
	Function<double, double> f,
	Interval bracket
)
Public Shared Function FindZero ( _
	f As Function(Of Double, Double), _
	bracket As Interval _
) As Double
public:
static double FindZero(
	Function<double, double>^ f, 
	Interval bracket
)

Parameters

f
Function<(Of <(Double, Double>)>)
The function whoose zero is sought.
bracket
Interval
An interval bracketing the root.

Return Value

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

Exceptions

ExceptionCondition
System..::.InvalidOperationExceptionThe function does not change sign across the given interval.

See Also