Changes

Jump to navigation Jump to search

Interval package

1,340 bytes added, 13:56, 6 March 2015
| mulrev [http://octave.sourceforge.net/interval/function/@infsup/mulrev.html] ''with two output parameters''
|}
 
== Compatibility ==
 
The interval package's main goal is to be compliant with IEEE 1788, so it is compatible with other standard-conforming implementations (on the set of operations described by the standard document).
 
This interval package is ''not'' meant to be a replacement for INTLAB and any compatibility with it is pure coincidence. Since both are compatible with GNU Octave, they happen to agree on many function names and programs written for INTLAB may possibly run with this interval package as well. Some fundamental differences that I am currently aware of:
* INTLAB is non-free software
* INTLAB is not conforming to IEEE 1788 and the parsing of intervals from strings uses a different format—especially for the uncertain form
* INTLAB supports intervals with complex numbers and sparse interval matrices, but no empty intervals
* INTLAB uses inferior accuracy for most arithmetic operations, because it focuses on speed
* Basic operations can be found in both packages, but the availability of special functions depends
 
In GNU Octave the interval package can also be run together with INTLAB, as the following script demonstrates:
 
# INTLAB intervals
A1 = infsup (2, 3);
M1 = midrad (0, 2);
# Interval package intervals
pkg load interval
A2 = infsup (2, 3);
M2 = midrad (0, 2);
pkg unload interval
# Computation with INTLAB
A1 + M1
# Computation without INTLAB
A2 + M2
== Related work ==
For Java there is a library [https://java.net/projects/jinterval/ jinterval] by Dmitry Nadezhin (member of IEEE P1788). It aims to be standard compliant with IEEE 1788, but is not complete yet.
For MATLAB there is a popular, nonfree interval arithmetic toolbox [http://www.ti3.tu-harburg.de/rump/intlab/ INTLAB] by Siegfried Rump. It had been free of charge for academic use in the past, but no longer is. Its origin dates back to 1999, so it is well tested and comprises a lot of functionality, especially for vector / matrix operations. INTLAB is compatible with GNU Octave since Version 9 [http://www.ti3.tuhh.de/rump/intlab/Octave/octave.html]. I don't know if INTLAB is or will be compliant with IEEE 1788.
[[Category:Octave-Forge]]
240

edits

Navigation menu