Matthias Koeppe on Mon, 01 Sep 2025 02:08:08 +0200


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

Re: Commands for testing presence of packages seadata-small, seadata-big, nftables?


Thanks very much for the speedy help.
This is all working perfectly in
https://github.com/passagemath/passagemath/pull/1517

Matthias

On Sun, Aug 31, 2025 at 6:49 AM Karim Belabas
<Karim.Belabas@u-bordeaux.fr> wrote:
>
> Addendum: or rather
>
>   readvec(Str(default(datadir), "/nftables/T77.gp"))
>
> for nftables. Cleaner.
>
>     K.B.
> --
> Pr. Karim Belabas, U. Bordeaux, Vice-président en charge du Numérique
> Institut de Mathématiques de Bordeaux UMR 5251 - (+33) 05 40 00 29 77
> http://www.math.u-bordeaux.fr/~kbelabas/
>
> * Karim Belabas [2025-08-31 15:45]:
> > * Matthias Koeppe [2025-08-31 04:41]:
> > > The page https://pari.math.u-bordeaux.fr/packages.html lists helpful
> > > commands for testing the presence of several of the data packages.
> > > Is someone able to provide such commands for the packages
> > > seadata-small, seadata-big, and nftables?
> >
> > The given example ellmodulareqn(11) on that 'packages' page will succeed
> > if EITHER ONE of seadata-small or seadata is installed
> >
> > seadata:
> >   ellmodulareqn(211)
> >
> > seadata-small:
> >   IF seadata is not installed, THEN
> >     ellmodularqn(11)
> >   will succeed iff seadata-small is present. I don't think there's
> >   a big use case for seadata-small nowadays, anyway. Who cares about
> >   saving 18MB on current hardware ? (At the expense of restricting modular
> >   equations to level < 211 instead of < 500.)
> >
> > seadata-big:
> >   ellmodulareqn(521)
> >
> > nftables is not used by any PARI function, it's raw data for user's
> > convenience. And mostly of historical interest now that nflist() is
> > available: everything those tables contain can be regenerated in a
> > couple of hours, given the defining polynomials. You can try something like
> >
> >   read(Str(default(datadir), "/nftables/T77.gp"))
> >
> > Cheers,
> >
> >     K.B.
> > --
> > Pr. Karim Belabas, U. Bordeaux, Vice-président en charge du Numérique
> > Institut de Mathématiques de Bordeaux UMR 5251 - (+33) 05 40 00 29 77
> > http://www.math.u-bordeaux.fr/~kbelabas/



-- 
Matthias Koeppe -- http://www.math.ucdavis.edu/~mkoeppe