in reply to Using modular numbers with Math::Pari

Pari's

`lift`function "lifts" a modular residue back into the integers.Presumably it is available from the Math::Pari bindings somehow (I only know pari, not the Perl bindings).? lift( 1 / Mod(3,17) ) %1 = 6

blokhead

Replies are listed 'Best First'. | |
---|---|

Re^2: Using modular numbers with Math::Pari
by hv (Parson) on Oct 29, 2009 at 14:45 UTC |

In Section
Seekers of Perl Wisdom

Comment onRe: Using modular numbers with Math::PariDownloadCode