Ridders Solver Constructor
Definition
Namespace: Numerics.NET.EquationSolvers
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.4
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.4
Overload List
Ridders | Constructs a new RiddersSolver. |
Ridders | Constructs a new RiddersSolver for a specified target function over a given bracketing interval. |
Ridders | Constructs a new RiddersSolver for a specified target function over a given bracketing interval and tolerance. |
RiddersSolver
Constructs a new RiddersSolver.
public RiddersSolver()
RiddersSolver(Func<Double, Double>, Double, Double)
Constructs a new RiddersSolver for a specified
target function over a given bracketing interval.
public RiddersSolver(
Func<double, double> targetFunction,
double lowerBound,
double upperBound
)
Parameters
RiddersSolver(Func<Double, Double>, Double, Double, ConvergenceCriterion, Double)
Constructs a new RiddersSolver for a specified
target function over a given bracketing interval and tolerance.
public RiddersSolver(
Func<double, double> targetFunction,
double lowerBound,
double upperBound,
ConvergenceCriterion convergenceCriterion,
double tolerance
)
Parameters
- targetFunction Func<Double, Double>
- A delegate that represents a function of one variable that specifies the target function.
- lowerBound Double
- The lower bound of the bracketing interval.
- upperBound Double
- The upper bound of the bracketing interval.
- convergenceCriterion ConvergenceCriterion
- One of the ConvergenceCriterion values that specifies the criterion that is to be used in the convergence test for the algorithm.
- tolerance Double
- The tolerance to use when approximating the roots of the target function.
Exceptions
Argument | The tolerance is less than zero. |