Interval package: Difference between revisions

Jump to navigation Jump to search
68 bytes removed ,  18 January 2015
m
→‎What to expect: Typo & formatting
m (→‎What to expect: Added runtime information)
m (→‎What to expect: Typo & formatting)
Line 56: Line 56:


{| class="wikitable" style="margin: auto; align:right"
{| class="wikitable" style="margin: auto; align:right"
|+align="bottom" | Approximate runtime (wall clock time in seconds) on an Intel® Core™ i5-4340M CPU
|+ Approximate runtime (wall clock time in seconds) on an<br/>Intel® Core™ i5-4340M CPU (2.9 GHz)
!Matrix dimension
!Matrix dimension
!Interval <code>plus</code>
!Interval <code>plus</code>
Line 63: Line 63:
!Interval <code>inv</code>
!Interval <code>inv</code>
|-
|-
|align="right"| 10
| 10
|align="right"| < 0.1
|align="right"| < 0.1
|align="right"| < 0.1
|align="right"| < 0.1
Line 69: Line 69:
|align="right"| 3.3
|align="right"| 3.3
|-
|-
|align="right"| 20
| 20
|align="right"| < 0.1
|align="right"| < 0.1
|align="right"| < 0.1
|align="right"| < 0.1
Line 75: Line 75:
|style="text-align:right; font-weight: bold; color:orange"| 32.3
|style="text-align:right; font-weight: bold; color:orange"| 32.3
|-
|-
|align="right"| 30
| 30
|align="right"| < 0.1
|align="right"| < 0.1
|align="right"| < 0.1
|align="right"| < 0.1
Line 81: Line 81:
|style="text-align:right; font-weight: bold; color:red"| 142.1
|style="text-align:right; font-weight: bold; color:red"| 142.1
|-
|-
|align="right"| 40
| 40
|align="right"| < 0.1
|align="right"| < 0.1
|align="right"| 0.1
|align="right"| 0.1
|align="right"| 15.6
|align="right"| 15.6
|
|-
|-
|align="right"| 50
| 50
|align="right"| 0.1
|align="right"| 0.1
|align="right"| 0.2
|align="right"| 0.2
|style="text-align:right; font-weight: bold; color:orange"| 29.1
|style="text-align:right; font-weight: bold; color:orange"| 29.1
|
|}
|}


''Why is the interval package accurate?''
''Why is the interval package accurate?''
The GNU Octave builtin 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.
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.


240

edits

Navigation menu