RiddersSolver Constructor

Definition

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

Overload List

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

RiddersSolver

Constructs a new RiddersSolver.
C#
public RiddersSolver()

RiddersSolver(Func<Double, Double>, Double, Double)

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

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.

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

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

ArgumentOutOfRangeExceptionThe tolerance is less than zero.

See Also