Did you know ... Search Documentation:
Pack logtalk -- logtalk-3.102.0/docs/apis/_sources/root_finder_1.rst.txt

.. index:: single: root_finder(Function) .. _root_finder/1:

.. rst-class:: right

category

root_finder(Function)

Public predicates

(no local declarations; see entity ancestors if any)

Protected predicates

.. index:: evaluate_function/2 .. _root_finder/1::evaluate_function/2:

evaluate_function/2 ^^^^^^^^^^^^^^^^^^^^^^^

Evaluates the function and checks that it returns a number.

| Compilation flags: | static

| Template: | evaluate_function(Argument,Value) | Mode and number of proofs: | evaluate_function(+number,-number) - one_or_error

| Exceptions: | The function returns a non-numeric value: | domain_error(function_value,Value)


.. index:: check_bracket/3 .. _root_finder/1::check_bracket/3:

check_bracket/3 ^^^^^^^^^^^^^^^^^^^

Checks and unpacks a root bracket.

| Compilation flags: | static

| Template: | check_bracket(Bracket,Lower,Upper) | Mode and number of proofs: | check_bracket(+compound,-number,-number) - one_or_error

| Exceptions: | Bracket is a variable: | instantiation_error | Bracket is not a valid increasing numeric bracket: | domain_error(root_bracket,Bracket)


Private predicates

(no local declarations; see entity ancestors if any)

Operators

(none)