| RootFinderFFindRoot Method (Single, Single, Single) |
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 float FindRoot(
float x0,
float x1,
float y
)
Public Function FindRoot (
x0 As Single,
x1 As Single,
y As Single
) As Single
public:
float FindRoot(
float x0,
float x1,
float y
)
member FindRoot :
x0 : float32 *
x1 : float32 *
y : float32 -> float32
Parameters
- x0
- Type: SystemSingle
An x value such that the root lies between x0 and x1.
- x1
- Type: SystemSingle
An x value such that the root lies between x0 and x1.
- y
- Type: SystemSingle
The y for which an x is searched for such that f(x) = y.
Return Value
Type:
Single
The x value such that
f(x) = y; or
NaN if no suitable x is found.
See Also