Symbolic Math.Get Equation Solver(Expression<Func<Vector<Double>, Double>>[], Vector<Double>) Method
Finds a zero of a function starting from an initial guess.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
The best approximation to a zero of targetFunctions.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static EquationSystemSolver GetEquationSolver(
Expression<Func<Vector<double>, double>>[] targetFunctions,
Vector<double> initialGuess
)
Parameters
- targetFunctions Expression<Func<Vector<Double>, Double>>[]
- A delegate that represents a multivariate function returning a vector that specifies the function on the left-hand side of the equation.
- initialGuess Vector<Double>
- An initial guess for ther zero.
Return Value
EquationSystemSolverThe best approximation to a zero of targetFunctions.
Remarks
Use this method when you have very little information about the location of the zero, but you need more control over the solution process. For example, you may want to specify a different RelativeTolerance.