octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #50884] isfigure([]) = []


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #50884] isfigure([]) = []
Date: Wed, 26 Apr 2017 12:21:22 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #2, bug #50884 (project octave):

To the second question, an empty double array is still numeric. An empty char
array is not.


>> isnumeric ([])
ans = 1
>> isnumeric (single ([]))
ans = 1
>> isnumeric (char ([]))
ans = 0


IOW the dimensions of the array have nothing to do with whether it is numeric
or a struct or real or complex, those properties apply to the entire array.

However each individual member of an array may be finite or infinite or may
refer to a graphics handle or not.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50884>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]