help-octave
[Top][All Lists]
Advanced

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

Re: Basic question: usage of Java methods in Octave


From: Fedemone
Subject: Re: Basic question: usage of Java methods in Octave
Date: Tue, 15 Oct 2013 06:54:10 -0700 (PDT)

Thanks for the suggestion, in fact even the original line had the single(..)
function ar argument for the Java method, so I think is true. Unluckily the
result is not what expected:

octave:1> x = javaMethod('floatToIntBits', 'java.lang.Float', single(10.07))
error: [java] java.lang.IllegalArgumentException

octave:1> x = javaMethod('doubleToLongBits', 'java.lang.Double', 10.07)
x =
<Java object: java.lang.Long>


I know I'm a rookie, but this seems to be quite tricky. I'm growing
convinced that additional explanations in manual should be added by the
author the package.




--
View this message in context: 
http://octave.1599824.n4.nabble.com/Basic-question-usage-of-Java-methods-in-Octave-tp4658091p4658240.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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