BisectionSolver<T> Constructor

Definition

Namespace: Numerics.NET.EquationSolvers.Generic
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.3

Overload List

BisectionSolver<T>() Constructs a new BisectionSolver.
BisectionSolver<T>(Func<T, T>, T, T) Constructs a new BisectionSolver for a specified target function over a given bracketing interval.
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.

BisectionSolver<T>

Constructs a new BisectionSolver.
C#
public BisectionSolver()

BisectionSolver<T>(Func<T, T>, T, T)

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

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.

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.
C#
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

ArgumentOutOfRangeException The tolerance is less than zero.

See Also