[PPL-devel] Use of non-integers in Java

Étienne André Etienne.Andre at lipn.univ-paris13.fr
Thu Feb 21 15:21:10 CET 2013


Dear PPL developers,

My intern would like to link PPL with a Java program.

I have some experience of using PPL with OCaml, but not with Java.
And in particular I could not find how to use non-integers coefficients
(but rationals instead).
In OCaml, it was easy, e.g., using the "Gmp.Q.from_ints i j" function.

But in the Java interface, I only see constructors from int, big int, long
and string.
How can we build some rational coefficients in the Java interface?

Thank you very much,
--
Étienne André
LIPN, Université Paris 13, Sorbonne Paris Cité
http://www-lipn.univ-paris13.fr/~andre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cs.unipr.it/pipermail/ppl-devel/attachments/20130221/5063bd0c/attachment.htm>


More information about the PPL-devel mailing list