Jacques Gélinas on Wed, 16 Sep 2020 05:59:47 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Fortran compatibility |
Well, gp2c is a nice automated tool to convert a GP program to C code,
link that with the PARI Library, and execute the result (to gain speed).
So yes, if you can somehow use C code with Fortran, it should be easy
to use PARI with Fortran.
And there is also another way, using Fortran from Inside GP using the
operating system:
extern(str): execute shell command str, and feeds the result to GP (as if
loading from file). Jacques Gélinas
De : Brereton,
Ashley
Envoyé : mardi, 15 septembre 2020 22:06 À : pari-users@pari.math.u-bordeaux.fr Hi all,
I was wondering if somebody knew if it was possible to use Pari with Fortran.
My goal is to do a very simple task:
modulo(X,2pi)
where X is a very long number.
I hope someone can help!
Ash |