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

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

[Octave-bug-tracker] [bug #43925] isscalar behaves incorrectly for some


From: Julien Bect
Subject: [Octave-bug-tracker] [bug #43925] isscalar behaves incorrectly for some user-defined classes
Date: Thu, 11 Feb 2016 12:49:49 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:39.0) Gecko/20100101 Firefox/39.0

Follow-up Comment #12, bug #43925 (project octave):

I have a doubt about ndims()... It would seem natural to me that ndims()
should also respect the user-defined size.

But in Matlab (R2012a) this is confusing:

* The documentation says that ndims() should return length(size(x)).

* But ndims does not respect that is the size function is overloaded...

I have to check whether this has been fixed in more recent Matlab versions.


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

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