NewtonFindRootFindRoot Method |
Attempts the indicated number of iterations to locate the root of the function
to within the required convergence criteria.
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 bool FindRoot(
int maxIterations
)
Public Function FindRoot (
maxIterations As Integer
) As Boolean
public:
bool FindRoot(
int maxIterations
)
member FindRoot :
maxIterations : int -> bool
Parameters
- maxIterations
- Type: SystemInt32
The maximum number of iterations to perform.
If a solution has not been found after this number of iterations the Root property is set to the guess
of the last iteration and ResultType is set to SolutionDidNotConverge.
Return Value
Type:
Boolean if the root was found; otherwise
.
See Also