Finds a zero of a function starting from an initial guess.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static EquationSystemSolver GetEquationSolver(
Expression<Func<Vector<double>, double>>[] targetFunctions,
Vector<double> initialGuess
)
Public Shared Function GetEquationSolver (
targetFunctions As Expression(Of Func(Of Vector(Of Double), Double))(),
initialGuess As Vector(Of Double)
) As EquationSystemSolver
public:
static EquationSystemSolver^ GetEquationSolver(
array<Expression<Func<Vector<double>^, double>^>^>^ targetFunctions,
Vector<double>^ initialGuess
)
static member GetEquationSolver :
targetFunctions : Expression<Func<Vector<float>, float>>[] *
initialGuess : Vector<float> -> EquationSystemSolver
Parameters
- targetFunctions
- Type: System.Linq.ExpressionsExpressionFuncVectorDouble, Double
A delegate that represents a multivariate function returning a vector that specifies the function on the left-hand
side of the equation. - initialGuess
- Type: Extreme.MathematicsVectorDouble
An initial guess for ther zero.
Return Value
Type:
EquationSystemSolverThe best approximation to a zero of
targetFunctions.
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.
Reference