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

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

[Octave-bug-tracker] [bug #34536] isvector gives wrong answer when check


From: Juan Pablo Carbajal
Subject: [Octave-bug-tracker] [bug #34536] isvector gives wrong answer when checking function_handle
Date: Wed, 12 Oct 2011 12:58:16 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.23) Gecko/20110921 Ubuntu/10.10 (maverick) Firefox/3.6.23

Follow-up Comment #3, bug #34536 (project octave):

Ok, then the docstring should be more specific and say 
"As a consequence a 1x1 array, or scalar, or function_hanlde is also a
vector."

Since the default vectors and scalars are numeric and because the following is
not valid

address@hidden; @isvector]

Are cells also arrays? 
Since isvector(cell(1,N)) or isvector(cell(N,1)) also gives true and the
docstring of isvectors says
"A vector is a 2-D array"


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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