240
edits
m (→Input and output: Added hint for command syntax) |
|||
Line 104: | Line 104: | ||
The GNU Octave built-in floating-point routines are not useful for interval arithmetic: Their results depend on hardware, system libraries and compilation options. | The GNU Octave built-in floating-point routines are not useful for interval arithmetic: Their results depend on hardware, system libraries and compilation options. | ||
The interval package handles all arithmetic functions with the help of the [http://www.mpfr.org/ GNU MPFR library]. With MPFR it is possible to compute system-independent, valid and tight enclosures of the correct results for most functions. However, it should be noted that some reverse operations and matrix operations do not exists in GNU MPFR and therefore cannot be computed with the same accuracy. | The interval package handles all arithmetic functions with the help of the [http://www.mpfr.org/ GNU MPFR library]. With MPFR it is possible to compute system-independent, valid and tight enclosures of the correct results for most functions. However, it should be noted that some reverse operations and matrix operations do not exists in GNU MPFR and therefore cannot be computed with the same accuracy. | ||
== Installation == | |||
The interval package is available at Octave Forge [http://octave.sourceforge.net/interval/] and can be installed from within GNU Octave (version ≥ 3.8.2). During installation parts of the package are compiled for the target system, which requires the GNU MPFR development libraries (version ≥ 3.1.2) to be installed. | |||
octave:1> pkg install -forge interval | |||
octave:2> pkg load interval | |||
The ''development version'' may be obtained from its mercurial repository. For convenience a Makefile target allows running the package from source. | |||
$ hg clone http://hg.code.sf.net/p/octave/interval octave-interval | |||
$ cd octave-interval; make run | |||
== Quick start introduction == | == Quick start introduction == |
edits