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
)
Public Shared Function FindZero (
f As Func(Of Double, Double),
bracket As Interval
) As Double
public:
static double FindZero(
Func<double, double>^ f,
Interval bracket
)
static member FindZero :
f : Func<float, float> *
bracket : Interval -> float
Parameters
- f
- Type: SystemFuncDouble, Double
The function whoose zero is sought. - bracket
- Type: Meta.NumericsInterval
An interval bracketing the root.
Return Value
Type:
DoubleAn ordinate within the bracket at which the function has a zero.
Exceptions See Also