Bill Allombert on Fri, 13 Jan 2023 19:12:39 +0100
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Programmatically obtain a complete list of commands and keywords for updating the PARI/GP third-party IDE tools.
|
- To: pari-users@pari.math.u-bordeaux.fr
- Subject: Re: Programmatically obtain a complete list of commands and keywords for updating the PARI/GP third-party IDE tools.
- From: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
- Date: Fri, 13 Jan 2023 19:11:06 +0100
- Arc-authentication-results: i=1; smail; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1673633466; c=relaxed/relaxed; bh=03m9Wh4MvaA7MzwCapII5YSRIAnkmEEmfu4Cj/2CU7k=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:Mail-Followup-To: References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; b=AYtm1WfzxtrQlRk69akYqzN5MbUFdLutdHc9JMKlXcSZiPNL3qU2I6R5dpMsvnAaIRgbbbEh4JEFKQA0ey3aojy8JPk+YhnRRjB6pM4k6wmtvLM9ENIkJA5HPWSLHWJGJZGZzBHJTfaNZxZbKYdOAxRhtrXUGxPR8RMXQ+Bg+n2Fvc8HblHyIT5ANuARgfZMrU8aOjHYaeRY6E+bJwYzhJlgwdZs84s2KzDCufl1gmijOJWdvmflSwXQdMgqQ/r8z59g4qUtGmw2c1wiAei0YJUJJPN7Bx7PESjHVzVHAelqSB2G95r1p8g4Wry2W6+QyDpq5a8m2sGNv9skFRX+p7yVwsZi74Y4dCve5agbXXwMzbe2Q1Hm9bWSo8raNHp64OOUfHhUd3IsohVNufaDRs7Ch7+0oZBneKPyz1vE5ttps8BOkuTwyhsx49aIABblEfbQJrWfeiDUcRC9gjFaOg2HjP6GsvTR9YXlW/jLGLj20y7bHbFTtfRAQrHmbqC0w/EY52wUSBY4cm81C/eShB3tm9xMIQYJs8dJnGHETfEYZ0swKylWUf5yCyb8+HS0IzH8uT8Kzif69kKeP2jElzJgcVxrku1iGvL2duYKPGqhNx1O2oW1fZ5wHwAfBuk7XHS51+U+t1m5V517Q8rwsnSS+qWdzbHZrC/ytT/Y/ps=
- Arc-seal: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1673633466; cv=none; b=MKyeZPo7Wf9YaBVpMnSkkY8zy4KbIX/2l5IVn7Pl/u/kAeWki4BsX5MtePi6sbO3tSiuZgAg+86K8TPy9dgtNVeL0RHRsnb0H51xJFrMHzMYmpP95ifUbJs5T0mw/8/zTTvcSPAPSDEwHiWMHjoqmNX5R8WGBsz0f0Yzvt7sML5ynFLPiPkUtDP9ftS1NI3SvUP5PLNmdv6VGeE0qvGOFELPQLhLUo0ugM63t4fTNt8NFj9ajIY1Q3i1ZJG7CUXuG6AKh3WzErOaJqXPau+HFV8Jg8E3+JnbJdhPmi9VIpDkEl6DtO27SgoY6wY5QmyOKAu+eOr0L7fIWq08CyJ6Dtzz26Bf0bsK8VSRnzA5YhPdGQj/I7mSJ6ECab0ZN+efhUU3f8pjZeVJWVR9S1n3p9thKFyPxjIMbx0KyOAVVzbd4uTicGMA8TWgDmMTnYgnlsLjln+RmqQoztdEYAqgeaghsMd9YOcXyvARBHabo9HJhEha0SgPc649xfFoMkxO0Nz+JBppFh6xx5qkmKhg9kzgmaFI348GQcliHIhVsOgZ33Amri6p3bYUvSyank8R5SynwOWl2Ak4nqymtuVpCcO7dMyYFW4+Ecu9tg6CAIavezpQF6VGKCZ/XFzlZ8GC13LLQQgFELIeOFAbdIyJ2W6OdX8/9Gfjva9AF37hQgc=
- Authentication-results: smail; arc=none
- Delivery-date: Fri, 13 Jan 2023 19:12:39 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=math.u-bordeaux.fr; s=2022; t=1673633466; bh=03m9Wh4MvaA7MzwCapII5YSRIAnkmEEmfu4Cj/2CU7k=; h=Date:From:To:Subject:References:In-Reply-To:From; b=KpOrx/V5TcNtdC12inmFNikAN/zq7HWYangnUO0eeHRnEWoz5l9mz59WIAhqPg7IG nBcNDMEIiWIK6ew105UaKWA7E1r+t2oAbdCKmUVQhoEuavqlbv018AyDMt2nMTw/bR qNpJ9P6VgbBIQeaUDIGzdkjYJp/7+EOF+S3XjJCsMqebcfxzMvgfr7PeLNtICH9f6P 7hMVA02UVlqYPEowEDeX6Kpem296wICDt89i8Fp6rCzQ2XVZgWCJ0EOyqxXDv/KPEX OGXX4UO1bvKU+L9wjzx3S1qV2+T4vdPzyk4O6xVdjxnbGNHtiKUPkioEnulQ2Jt9Bt zH4vVHk7g6AdJ5EQWOCqK9wHshYwZVIVeCMY1L4+VZvLlyZUHs+6zWMO8BDUxLzBFZ XihLefflRkvJgsbpHAtS2Vx/ReEyEaW2az63seeOq8oz0gUgMxkU8ukVenmhZfjad1 WXB93vQI8+DIxgRMY6UlDWDkrpJqYg76Df2zNdJ5suRG4s6pxknYxbeccgDOE8aQZo zETCN3VjKdbT+SGGIwr7vSxOvQmCIpHlgeOXdlPEdOI6p3Izj5UnFjZ6HEBOUsMpk5 F/Tc81gzn9zlrie0VQ1JJvBTaIkRhWAZoNSn9KWt/k9DRE6UITw6M3cYGVns5U7DRi TLXYWDZoC5Aa0nYlLo/+HdjQ=
- In-reply-to: <63C18836.7000703@t-online.de>
- Mail-followup-to: pari-users@pari.math.u-bordeaux.fr
- References: <CAGP6POLwmv557at-pas+di4Srg4RgsZnxP+PXt+FHXPsxgS4Ow@mail.gmail.com> <63C18836.7000703@t-online.de>
On Fri, Jan 13, 2023 at 05:35:02PM +0100, Gottfried Helms wrote:
> Am 10.01.2023 um 01:46 schrieb Hongyi Zhao:
> > Hi here,
> >
> > I'm not sure whether there is an elegant way in PARI/GP, which can let
> > me programmatically obtain a complete list of commands and keywords
> > for updating the PARI/GP third-party IDE tools, such as pari-gp-lang
> > [1].
> >
> > Any tips would be appreciated.
> >
> > [1] https://github.com/DavidAyotte/pari-gp-lang/issues/3
> >
> > Regards,
> > Zhao
> >
> Hmm, don't know whether such a thing is meant:
>
> - - - - - - - - - - - -
>
> I've a small set of subroutines which provide from
> a new version of GP the commands plus simple helptext
> ("?Euler") as a text file like this:
> ============================================================================
> Catalan=Catalan(): Catalan's number with current precision.
> Col(x, {n}): transforms the object x into a column vector of dimension n.
> Colrev(x, {n}): transforms the object x into a column vector of dimension n in reverse order with respect to Col(x, {n}). Empty vector if x is omitted.
> Euler=Euler(): Euler's constant with current precision.
> I=I(): square root of -1.
> List({x=[]}): transforms the vector or list x into a list. Empty list if x is omitted.
> ...
> znorder(x,{o}): order of the integermod x in (Z/nZ)*. Optional o represents a multiple of the order of the element.
> znprimroot(n): returns a primitive root of n when it exists.
> znstar(n,{flag=0}): 3-component vector v = [no,cyc0,gen], giving the structure of the abelian group (Z/nZ)^*; no is the order (i.e. eulerphi(n)), cyc is a vector of cyclic components, and gen is a vector giving the corresponding generators.
> ============================================================================
Note: the PARI installation includes a file pari.desc that includes all this data
in RFC822 format. We also provide a perl module to read it PARI/822.pm
Cheers,
Bill