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

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

[Octave-bug-tracker] [bug #45138] Calling length() on a matrix gives wro


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #45138] Calling length() on a matrix gives wrong result.
Date: Tue, 19 May 2015 13:37:08 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0 Iceweasel/35.0.1

Update of bug #45138 (project octave):

                  Status:                    None => Invalid                
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

Thanks for looking into this. Yes, this is intentional. The length method for
an Octave Array or Matrix class is the same as the numel method, i.e. the
total number of elements in the container.

For compatibility with Matlab, the length function in the interpreter is the
size of the largest dimension only.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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