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