BrentFindRoot Constructor (RealValuedScalarFunction, Double, Double, BrentSolutionType, ConvergenceCriteria, BracketToward) |
Initializes a new instance that can be used to find roots of a specified function.
Namespace:
AGI.Foundation.NumericalMethods.Advanced
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public BrentFindRoot(
RealValuedScalarFunction function,
double variableTolerance,
double functionTolerance,
BrentSolutionType solutionType,
ConvergenceCriteria criteria,
BracketToward bracketToward
)
Public Sub New (
function As RealValuedScalarFunction,
variableTolerance As Double,
functionTolerance As Double,
solutionType As BrentSolutionType,
criteria As ConvergenceCriteria,
bracketToward As BracketToward
)
public:
BrentFindRoot(
RealValuedScalarFunction^ function,
double variableTolerance,
double functionTolerance,
BrentSolutionType solutionType,
ConvergenceCriteria criteria,
BracketToward bracketToward
)
new :
function : RealValuedScalarFunction *
variableTolerance : float *
functionTolerance : float *
solutionType : BrentSolutionType *
criteria : ConvergenceCriteria *
bracketToward : BracketToward -> BrentFindRoot
Parameters
- function
- Type: AGI.Foundation.NumericalMethodsRealValuedScalarFunction
The function to be called in order to evaluate intermediate variable values. - variableTolerance
- Type: SystemDouble
The convergence tolerance in the variable value. - functionTolerance
- Type: SystemDouble
The convergence tolerance in the function value. - solutionType
- Type: AGI.Foundation.NumericalMethods.AdvancedBrentSolutionType
Indicates on which side of zero a solution must be found. - criteria
- Type: AGI.Foundation.NumericalMethods.AdvancedConvergenceCriteria
Specifies the criteria to be used in determining convergence. - bracketToward
- Type: AGI.Foundation.NumericalMethods.AdvancedBracketToward
Specifies the bracketing behavior when a sampled function value exactly equals zero.
This parameter only has an effect when the criteria is
ConvergenceCriteria.Variable or
ConvergenceCriteria.Both.
See BracketToward for more information.
Exceptions See Also