[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #51798] Array of java objects
From: |
Ernst Reissner |
Subject: |
[Octave-bug-tracker] [bug #51798] Array of java objects |
Date: |
Tue, 22 Aug 2017 17:08:18 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0 |
Follow-up Comment #4, bug #51798 (project octave):
@philip
Well, I think javaArray is a kind of workaround.
The problem is, that 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... Bad.
So this workaround does not really work.
In octave:
octave:8> size(javaArray ("java.math.BigDecimal", 3,4))
ans =
3 4
size(...)
ans =
3 1
which is according to the documentation.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?51798>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/