category
quadrature(Function)
Function- Object implementingunivariate_function_protocol.
Common option handling and validation for scalar quadrature algorithms.
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_integrand/2
Evaluates the integrand and checks that it returns a number.
Compilation flags:
staticTemplate:
evaluate_integrand(Argument,Value)Mode and number of proofs:
evaluate_integrand(+number,-number) - one_or_errorExceptions:
The integrand returns a non-numeric value:
domain_error(function_value,Value)check_bounds/2
Checks that both integration bounds are instantiated numbers.
Compilation flags:
staticTemplate:
check_bounds(Lower,Upper)Mode and number of proofs:
check_bounds(+number,+number) - one_or_errorExceptions:
An integration bound is a variable:
instantiation_errorAn integration bound is not a number:
type_error(number,Bound)Private predicates
(no local declarations; see entity ancestors if any)
Operators
(none)