Newton Raphson Solver Constructor
Definition
Namespace: Extreme.Mathematics.EquationSolvers
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Newton | Constructs a new NewtonRaphsonSolver object. |
Newton | Constructs a new NewtonRaphsonSolver object. |
Newton | Constructs a new NewtonRaphsonSolver object. |
NewtonRaphsonSolver
Constructs a new NewtonRaphsonSolver object.
public NewtonRaphsonSolver()
NewtonRaphsonSolver(Func<Double, Double>, Func<Double, Double>, Double)
Constructs a new NewtonRaphsonSolver object.
public NewtonRaphsonSolver(
Func<double, double> targetFunction,
Func<double, double> derivativeOfTargetFunction,
double x0
)
Parameters
- targetFunction Func<Double, Double>
- A delegate that represents a function of one variable delegate that specifies the target function.
- derivativeOfTargetFunction Func<Double, Double>
- A delegate that represents a function of one variable delegate that specifies the derivative of the target function.
- x0 Double
- The initial guess for the root.
NewtonRaphsonSolver(Func<Double, Double>, Func<Double, Double>, Double, ConvergenceCriterion, Double)
Constructs a new NewtonRaphsonSolver object.
public NewtonRaphsonSolver(
Func<double, double> targetFunction,
Func<double, double> derivativeOfTargetFunction,
double x0,
ConvergenceCriterion convergenceCriterion,
double tolerance
)
Parameters
- targetFunction Func<Double, Double>
- A delegate that represents a function of one variable delegate that specifies the target function.
- derivativeOfTargetFunction Func<Double, Double>
- A delegate that represents a function of one variable delegate that specifies the derivative of the target function.
- x0 Double
- The initial guess for the root.
- 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. |