NewtonRaphsonSolver.Solve Method

Definition

Namespace: Numerics.NET.EquationSolvers
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(Double) 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.

Solve(Double, Double)

Attempts to find the point where the target function equals the specified value.
C#
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

Double
The best approximation to the root.

Exceptions

ConvergenceException

The root finding algorithm failed to converge.

See Also