category
root_finder(Function)
Function- Object implementingunivariate_function_protocol.
Common option handling and validation for scalar root finders.
Availability:
logtalk_load(numerical_analysis(loader))Author: Paulo Moura
Version: 1:0:0
Date: 2026-09-04
Compilation flags:
staticRemarks:
(none)
Inherited public predicates:
Public predicates
(no local declarations; see entity ancestors if any)
Protected predicates
evaluate_function/2
Evaluates the function and checks that it returns a number.
Compilation flags:
staticTemplate:
evaluate_function(Argument,Value)Mode and number of proofs:
evaluate_function(+number,-number) - one_or_errorExceptions:
The function returns a non-numeric value:
domain_error(function_value,Value)check_bracket/3
Checks and unpacks a root bracket.
Compilation flags:
staticTemplate:
check_bracket(Bracket,Lower,Upper)Mode and number of proofs:
check_bracket(+compound,-number,-number) - one_or_errorExceptions:
Bracket is a variable:instantiation_errorBracket is not a valid increasing numeric bracket:domain_error(root_bracket,Bracket)Private predicates
(no local declarations; see entity ancestors if any)
Operators
(none)