Click or drag to resize

NewtonRootType Enumeration

Indicates the type of Root held by a NewtonFindRoot.

Namespace:  AGI.Foundation.NumericalMethods.Advanced
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public enum NewtonRootType
Members
  Member nameDescription
InitialGuess The value of the root has just been set as an initial guess and has yet to be solved for.
FoundSolution The root has a valid result after FindRoot(Int32) has successfully run.
SolutionDidNotConverge The attempt to solve for the location of the root failed as the solution did not converge in the allowed number of iterations. Root holds the guess calculated by the latest iteration, and Iterations holds the number iterations taken to calculate that latest guess.
SolverFailedDueToHorizontalSlope The attempt to solve for the location of the root failed due to the derivative equaling zero, making a next guess impossible to calculate using this algorithm. You can try BrentFindRoot as an alternative method to solve for the root of your function. Root contains the location of the guess which led to the zero derivative.
See Also