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

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

[Octave-bug-tracker] [bug #48749] size and dimensionality of java arrays


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #48749] size and dimensionality of java arrays
Date: Wed, 10 Aug 2016 14:39:34 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0

Update of bug #48749 (project octave):

                Category:                    None => Octave Function        
                Severity:              3 - Normal => 1 - Wish               
                Priority:              5 - Normal => 3 - Low                
              Item Group:                    None => Matlab Compatibility   
                  Status:                    None => Need Info              
                 Summary:    size of java arrays  => size and dimensionality
of java arrays

    _______________________________________________________

Follow-up Comment #1:

That looks right according to my reading also.

The current Octave behavior is nice, but not fully Matlab compatible. The
higher dimensions in the returned size are just the lengths of the first
nested arrays.

To be compatible, the size of a Java array should always be Nx1 reflecting the
length of the outermost array. The number of dimensions (ndims) should always
be 2. It would be nice to confirm whether numel agrees with size for 2 or
higher-dimensional Java arrays.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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