Newton Raphson Solver.Solve Method
Definition
Namespace: Numerics.NET.EquationSolvers
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Overload List
Solve() | Attempts to find a root or zero of the target function. |
Solve( | Attempts to find the point where the target function equals the specified value. |
Solve( | Attempts to find the point where the target function equals the specified value. |
Solve(Double, Double)
Attempts to find the point where the target function equals the specified value.
public double Solve(
double rightHandSide,
double initialGuess
)
Parameters
- rightHandSide Double
- The right-hand side of the equation.
- initialGuess Double
- The initial guess for the root.
Return Value
DoubleThe best approximation to the root.
Exceptions
Convergence | The root finding algorithm failed to converge. |