SymbolicMath.FindZero(Expression<Func<Vector<Double>, Double>>[], Vector<Double>) Method

Solves a system of nonlinear equations starting from an initial guess.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static Vector<double> FindZero(
	Expression<Func<Vector<double>, double>>[] targetFunctions,
	Vector<double> initialGuess
)

Parameters

targetFunctions  Expression<Func<Vector<Double>, Double>>[]
An array of lambda expressions that represent a multivariate function that specify the left-hand sides of the equation.
initialGuess  Vector<Double>
An initial guess for the solution.

Return Value

Vector<Double>
The best approximation to a zero of targetFunctions.

Remarks

Use this method when you have very little information about the location of the zero.

Exceptions

ConvergenceExceptionThe algorithm failed to converge to a solution.

See Also