| RootFinderDFindRoot Method (Double, Double, Double) |
Finds the x for the given function, such that f(x) = y.
Namespace: DigitalRune.Mathematics.AnalysisAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public double FindRoot(
double x0,
double x1,
double y
)
Public Function FindRoot (
x0 As Double,
x1 As Double,
y As Double
) As Double
public:
double FindRoot(
double x0,
double x1,
double y
)
member FindRoot :
x0 : float *
x1 : float *
y : float -> float
Parameters
- x0
- Type: SystemDouble
An x value such that the root lies between x0 and x1.
- x1
- Type: SystemDouble
An x value such that the root lies between x0 and x1.
- y
- Type: SystemDouble
The y for which an x is searched for such that f(x) = y.
Return Value
Type:
Double
The x value such that
f(x) = y; or
NaN if no suitable x is found.
See Also