Interval package: Difference between revisions

m
(→‎Arithmetic operations: added examples)
Line 132: Line 132:


=== Arithmetic operations ===
=== Arithmetic operations ===
The interval packages comprises many interval arithmetic operations. Function names match GNU Octave standard functions where applicable.
The interval packages comprises many interval arithmetic operations. Function names match GNU Octave standard functions where applicable, and follow recommendations by IEEE 1788 otherwise.


Arithmetic functions in a set-based interval arithmetic follow these rules: Intervals are sets. They are subsets of the set of real numbers. The interval version of an elementary function such as sin(''x'') is essentially the natural extension to sets of the corresponding point-wise function on real numbers. That is, the functions are evaluated for each number in the interval where the function is defined and the result must be an enclosure of all possible values that may occur.
Arithmetic functions in a set-based interval arithmetic follow these rules: Intervals are sets. They are subsets of the set of real numbers. The interval version of an elementary function such as sin(''x'') is essentially the natural extension to sets of the corresponding point-wise function on real numbers. That is, the functions are evaluated for each number in the interval where the function is defined and the result must be an enclosure of all possible values that may occur.
240

edits