Equation Solver Constructor
Definition
Namespace: Numerics.NET.EquationSolvers
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
Equation | Constructs a new EquationSolver object. |
Equation | Constructs a new EquationSolver object for the specified target function. |
Equation | Constructs a new EquationSolver object for the specified target function and tolerance. |
Equation | Constructs a new EquationSolver object for the specified target function and convergence parameters. |
Equation | Constructs a new EquationSolver object for the specified target function and tolerance. |
EquationSolver
Constructs a new EquationSolver object.
protected EquationSolver()
EquationSolver(Func<Double, Double>)
Constructs a new EquationSolver object for the
specified target function.
protected EquationSolver(
Func<double, double> targetFunction
)
Parameters
EquationSolver(Func<Double, Double>, ConvergenceCriterion, Double)
Constructs a new EquationSolver object for the
specified target function and tolerance.
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
Argument | 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.
protected EquationSolver(
Func<double, double> targetFunction,
double lowerBound,
double upperBound
)
Parameters
Exceptions
Argument | 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.
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
Argument | The tolerance is less than zero. |