FunctionMath.FindZero Method (Func<Double, Double>, Interval) |
Isolates a root within a given interval.
Namespace:
Meta.Numerics.Analysis
Assembly:
Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntaxpublic 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: System.Func<Double, Double>
The function whoose zero is sought. - bracket
- Type: Meta.Numerics.Interval
An interval bracketing the root.
Return Value
Type:
DoubleAn ordinate within the bracket at which the function has a zero.
Exceptions
See Also