EquationSolver Constructor

Definition

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

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