FindRootsOfFunction Method |
Find a solution of the equation f(x)=0.
Namespace: Altaxo.CalcAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static double OfFunction(
Func<double, double> f,
double lowerBound,
double upperBound,
double accuracy = 1E-08,
int maxIterations = 100
)
Parameters
- f FuncDouble, Double
- The function to find roots from.
- lowerBound Double
- The low value of the range where the root is supposed to be.
- upperBound Double
- The high value of the range where the root is supposed to be.
- accuracy Double (Optional)
- Desired accuracy. The root will be refined until the accuracy or the maximum number of iterations is reached. Example: 1e-14.
- maxIterations Int32 (Optional)
- Maximum number of iterations. Example: 100.
Return Value
Double[Missing <returns> documentation for "M:Altaxo.Calc.FindRoots.OfFunction(System.Func{System.Double,System.Double},System.Double,System.Double,System.Double,System.Int32)"]
See Also