StableDistributionBaseFindDecreasingYEqualTo Method |
Finds the x where func(x)==ysearch±tol between x0 < x < x1 for a monotonic decreasing function func.
Namespace: Altaxo.Calc.ProbabilityAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax protected static double FindDecreasingYEqualTo(
Func<double, double> func,
double x0,
double x1,
double ysearch,
double tol,
out double y
)
Parameters
- func FuncDouble, Double
- Function for which to find the argument x where func(x)=1. The function has to be decreasing with x.
- x0 Double
- Lower bound of the search range.
- x1 Double
- Upper bound of the search range.
- ysearch Double
- The function value to search.
- tol Double
- Tolerable deviation of the searched function value.
- y Double
- On return, this is the function value that corresponds to the returned x value.
Return Value
DoubleThe value x at which func(x)=
ysearch±
tol.
See Also