BisectionSolver Constructor

Definition

Namespace: Extreme.Mathematics.EquationSolvers
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

BisectionSolver() Constructs a new BisectionSolver.
BisectionSolver(Func<Double, Double>, Double, Double) Constructs a new BisectionSolver for a specified target function over a given bracketing interval.
BisectionSolver(Func<Double, Double>, Double, Double, ConvergenceCriterion, Double) Constructs a new BisectionSolver for a specified target function over a given bracketing interval and tolerance.

BisectionSolver

Constructs a new BisectionSolver.
C#
public BisectionSolver()

BisectionSolver(Func<Double, Double>, Double, Double)

Constructs a new BisectionSolver for a specified target function over a given bracketing interval.
C#
public BisectionSolver(
	Func<double, double> targetFunction,
	double lowerBound,
	double upperBound
)

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.

BisectionSolver(Func<Double, Double>, Double, Double, ConvergenceCriterion, Double)

Constructs a new BisectionSolver for a specified target function over a given bracketing interval and tolerance.
C#
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

ArgumentOutOfRangeException The tolerance is less than zero.

See Also