EquationSolver<T> Constructor

Definition

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

Overload List

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

EquationSolver<T>

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

EquationSolver<T>(Func<T, T>)

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

Parameters

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

EquationSolver<T>(Func<T, T>, T, T)

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

Exceptions

ArgumentOutOfRangeException The tolerance is less than zero.

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

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

Parameters

targetFunction  Func<T, T>
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  T
The tolerance to use when approximating the roots of the target function.

Exceptions

ArgumentOutOfRangeException The tolerance is less than zero.

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

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