Interval package: Difference between revisions

Jump to navigation Jump to search
334 bytes added ,  31 October 2014
Note on overridden isempty function
(Interval vectors and matrices)
(Note on overridden isempty function)
Line 141: Line 141:
         [4]      [9]      [2]  [Empty]
         [4]      [9]      [2]  [Empty]
     [Empty]  [Empty]  [Empty]      [42]
     [Empty]  [Empty]  [Empty]      [42]
Note: Whilst most functions (<code>size</code>, <code>isvector</code>, <code>ismatrix</code>, …) work as expected on interval data types, the function <code>''isempty''</code> is evaluated element-wise and checks if an interval equals the empty set.
octave:23> builtin ("isempty", empty ()), isempty (empty ())
ans = 0
ans =  1


=== Decorations ===
=== Decorations ===
240

edits

Navigation menu