Bisection Solver Constructor
Definition
Namespace: Extreme.Mathematics.EquationSolvers
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Bisection | Constructs a new BisectionSolver. |
Bisection | Constructs a new BisectionSolver for a specified target function over a given bracketing interval. |
Bisection | Constructs a new BisectionSolver for a specified target function over a given bracketing interval and tolerance. |
BisectionSolver
Constructs a new BisectionSolver.
public BisectionSolver()
BisectionSolver(Func<Double, Double>, Double, Double)
Constructs a new BisectionSolver for a specified
target function over a given bracketing interval.
public BisectionSolver(
Func<double, double> targetFunction,
double lowerBound,
double upperBound
)
Parameters
BisectionSolver(Func<Double, Double>, Double, Double, ConvergenceCriterion, Double)
Constructs a new BisectionSolver for a specified
target function over a given bracketing interval and
tolerance.
public BisectionSolver(
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 delegate 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. |