| NewtonRaphsonRootFinderFind(OneVariableFunction, OneVariableFunction, Interval) Method |
Finds a root within the interval.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public double Find(
OneVariableFunction f,
OneVariableFunction df,
Interval interval
)
Public Function Find (
f As OneVariableFunction,
df As OneVariableFunction,
interval As Interval
) As Double
public:
virtual double Find(
OneVariableFunction^ f,
OneVariableFunction^ df,
Interval^ interval
) sealed
abstract Find :
f : OneVariableFunction *
df : OneVariableFunction *
interval : Interval -> float
override Find :
f : OneVariableFunction *
df : OneVariableFunction *
interval : Interval -> float
Parameters
- f OneVariableFunction
- The function.
- df OneVariableFunction
- The derivative of f.
- interval Interval
- The interval.
Return Value
Double
A root of
f within
interval.
Implements
IOneVariableDRootFinderFind(OneVariableFunction, OneVariableFunction, Interval)Exceptions Remarks
Iteration stops when either the estimated error is less than the tolerance,
or the maximum number of iterations is reached.
Setting the error tolerance to less than zero ensures that the maximum
number of iterations is always reached.
See Also