NewtonFindRoot.FindRoot 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.3.420.0 (24.3.420.0)
Syntaxpublic 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: System.Int32
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:
Booleantrue if the root was found; otherwise
false.
See Also