FunctionMathFindZero(FuncDouble, Double, Double) Method

Isolates a root in the vicinity of a given point.

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,
	double x
)

Parameters

f  FuncDouble, Double
The function whoose zero is sought.
x  Double
A ordinate believed to be near the sought zero.

Return Value

Double
An ordinate at which the function has a zero.

See Also