Bisection Solver<T> Constructor
Definition
Namespace: Numerics.NET.EquationSolvers.Generic
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.1
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.1
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<T>
Constructs a new BisectionSolver.
public BisectionSolver()
BisectionSolver<T>(Func<T, T>, T, T)
Constructs a new BisectionSolver for a specified
target function over a given bracketing interval.
public BisectionSolver(
Func<T, T> targetFunction,
T lowerBound,
T upperBound
)
Parameters
BisectionSolver<T>(Func<T, T>, T, T, ConvergenceCriterion, T)
Constructs a new BisectionSolver for a specified
target function over a given bracketing interval and
tolerance.
public BisectionSolver(
Func<T, T> targetFunction,
T lowerBound,
T upperBound,
ConvergenceCriterion convergenceCriterion,
T tolerance
)
Parameters
- targetFunction Func<T, T>
- A delegate that represents a function of one variable delegate that specifies the target function.
- lowerBound T
- The lower bound of the bracketing interval.
- upperBound T
- 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 T
- The tolerance to use when approximating the roots of the target function.
Exceptions
Argument | The tolerance is less than zero. |