|
|
View previous topic
::
View next topic
|
Author |
Message |
ramon fincken Site's programmer
 Get a free globally recognized avatar It's free!
Joined: 03 Aug 2007 Posts: 412 Location: A'dam/Diemen, The Netherlands
|
Posted: Tue Feb 14, 2012 11:01 am Post subject: [matlab][solution][java] Using double or 2d double[][] array in Java JA builder |
|
|
If you need to have access to a double use:
for double:
Code: | double foo = ((MWNumericArray) result[0]).getDouble(); |
for double[][]:
Code: | MWNumericArray mytemp = ((MWNumericArray) result[1])
double[][] bar = (double[][]) mytemp.toDoubleArray(); |
especially the 2-dimensional double array was badly documented, so use this to your advantage. |
|
Back to top |
|
 |
Google adsense Advertisement
|
Posted: Tue Feb 14, 2012 11:01 am Post subject: [matlab][solution][java] Using double or 2d double[][] array in Java JA builder |
|
|
Advertisement
|
|
Back to top |
|
 |
GravityForms Advertisement
|
Posted: Tue Feb 14, 2012 11:01 am Post subject: [matlab][solution][java] Using double or 2d double[][] array in Java JA builder |
|
|
Advertisement
 |
|
Back to top |
|
 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|