Bill Allombert on Sun, 26 Mar 2017 12:19:27 +0200

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

Re: Mwrank

On Sun, Mar 26, 2017 at 02:40:16PM +0430, Benyamin Gholami wrote:
> it would be very nice if Mwrank of J.Cremona can be usable in pari

It is, see <>.

Though it might be possible to write a simpler script using externstr.
Something like

mwrank(E)=eval(externstr(Str("echo '",E[1..5],"'|mwrank -q -v0 -o"))[-3..-3][1])

might work.

? E=ellinit("5077a1");
? mwrank(E)
%10 = [[3],[[1,-1],[-2,3],[-7/4,25/8]]]