From bug-request at octave dot org Thu Mar 9 11:57:48 2006 Subject: Re: isvector (again) From: Bill Denney To: "John W. Eaton" cc: William Poetra Yoga H , bug@octave.org Date: Thu, 9 Mar 2006 12:59:31 -0500 (EST) On Thu, 9 Mar 2006, John W. Eaton wrote: > The attached patch fixes the size of function handle objects. > > Should a vector really be restricted to an object with just 2 > dimensions? Why not also consider a 1x1x1xN object to be a "vector"? > Perhaps this is a bug in Matlab? I really think that anything where (prod(size(x)) == max(size(x))) is a vector. Bill -- "Just remember the internet can be a very scary place if you're not prepared." "How do you recommend that they prepare?" "I don't know, try going to your local middle school chess club hand out crystal meth and guns that might be good practice." -- RvB ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------