NewtonSolver_OldSolve Method |
Solves a system of non-linear equations [f(x) = 0] using newton's method.
Namespace: DWSIM.MathOps.MathEx.OptimizationAssembly: DWSIM.MathOps (in DWSIM.MathOps.dll) Version: 8.8.1.0
Syntax public double[] Solve(
Func<double[], double[]> functionbody,
double[] vars
)
Public Function Solve (
functionbody As Func(Of Double(), Double()),
vars As Double()
) As Double()
Request Example
View SourceParameters
- functionbody FuncDouble, Double
- f(x) where x is a vector of double, returns the error values for each x
- vars Double
- initial values for x
Return Value
Doublevector of variables which solve the equations according to the minimum allowable error value (tolerance).
See Also