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:19:05 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Update of bug #50884 (project octave):

                  Status:                    None => Works For Me           

    _______________________________________________________

Follow-up Comment #1:

Well isnumeric, isstruct, isreal, iscomplex, etc, all test the properties of
an entire array and return a single logical value.

The Matlab function ishandle, and the Octave extensions isaxes and isfigure,
operate elementwise on the given array, so they return an array with the same
dimensions as the input array. This is more comparable to the isfinite or
isinf functions than isnumeric.

Think of isaxes, isfigure, and ishandle more like 


>> [1 2 3] > 0
ans =

  1  1  1

>> [] > 0
ans = [](0x0)


    _______________________________________________________

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]