EquationSolver Constructor

Definition

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

Overload List

EquationSolver() Constructs a new EquationSolver object.
EquationSolver(Func<Double, Double>) Constructs a new EquationSolver object for the specified target function.
EquationSolver(Func<Double, Double>, ConvergenceCriterion, Double) Constructs a new EquationSolver object for the specified target function and tolerance.
EquationSolver(Func<Double, Double>, Double, Double) Constructs a new EquationSolver object for the specified target function and convergence parameters.
EquationSolver(Func<Double, Double>, Double, Double, ConvergenceCriterion, Double) Constructs a new EquationSolver object for the specified target function and tolerance.

EquationSolver

Constructs a new EquationSolver object.
C#
protected EquationSolver()

EquationSolver(Func<Double, Double>)

Constructs a new EquationSolver object for the specified target function.
C#
protected EquationSolver(
	Func<double, double> targetFunction
)

Parameters

targetFunction  Func<Double, Double>
A delegate that represents a function of one variable delegate that specifies the target function.

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

Constructs a new EquationSolver object for the specified target function and tolerance.
C#
protected EquationSolver(
	Func<double, double> targetFunction,
	ConvergenceCriterion convergenceCriterion,
	double tolerance
)

Parameters

targetFunction  Func<Double, Double>
A delegate that represents a function of one variable delegate that specifies the target function.
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.

EquationSolver(Func<Double, Double>, Double, Double)

Constructs a new EquationSolver object for the specified target function and convergence parameters.
C#
protected EquationSolver(
	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.

Exceptions

ArgumentOutOfRangeException

The tolerance is less than zero.

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

Constructs a new EquationSolver object for the specified target function and tolerance.
C#
protected EquationSolver(
	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