bugGNU Octave - Bugs: bug #51822, nested java-arrays

 
 

bug #51822: nested java-arrays

Submitter:  Ernst Reissner <ernstreissner>
Submitted:  Tue 22 Aug 2017 09:09:56 PM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 22 Aug 2017 09:09:56 PM UTC, original submission:  

According to
https://www.mathworks.com/help/matlab/matlab_external/how-matlab-represents-java-array.html

matlab treats nested java-arrays as one-dimensional,
whereas octave does not:

In octave:
octave:8> size(javaArray ("java.math.BigDecimal", 3,4))
ans =

   3   4

in matlab:
size(...)

ans =
     3     1

which is according to the documentation.

Ernst Reissner <ernstreissner>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ernstreissner (Submitted the item)
  • -email is unavailable- added by ernstreissner
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-08-22 ernstreissner Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code