Bill Allombert on Sun, 10 Dec 2023 12:12:41 +0100
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
- To: pari-dev@pari.math.u-bordeaux.fr
- Subject: Re: The GP command “?”
- From: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
- Date: Sun, 10 Dec 2023 12:12:36 +0100
- Delivery-date: Sun, 10 Dec 2023 12:12:41 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=math.u-bordeaux.fr; s=2022; t=1702206758; bh=JDkaGaSoUsC4Z3+qzzFwwN5GtsyiHGN7hla9acNURMU=; h=Date:From:To:Subject:References:In-Reply-To:From; b=g+5pyQ8z6s4HnVe+LPhomR95MO7Uh0BTzT5LUBnGaHrIvDPmxC4FvRcomfW//DBri C580xIz+EfqXHUf4+4OpozXz0C7OG+FBsbRkXGdC+zSCFX2DsET7Fdxc/SeJWuY1c9 RPnhNV9TZNQpcC8etyXtc9vmCVp25jXYF+GZi9xFQYNmR+fJkhOes0xNZdJSrLMQEj BNnP8HnYgo9jvXC6xJUP87miASB8TYKFGCnJg8E62IVj8Bkr8OVRj8fEqhIq3d2rE7 9976AWPbceH3SjlSy6iyXzrO4pBUmDCIVRspwmCOzlrEHgsSKbj/mKjDudUvqHmm1C 6MZQI5DLf+Cr44wmvWaukS8RHUPLkDP5jNiIVSzqnyExD3NAPCXstiDIK24R7nCfr7 XbrQ2ANLBWnBJJNTDQzF6x9JLbgvEkCrFDPy3EIBpiH6ZePn2mnokLuz33csQFMwEz y1F19r5Kr7juJkti6ozZZlOabWmCsxe/ghJQmhNWzKsztzgNV0Ly6w/prOMaP9adNN tvLha6ufZ89tk2U6rKHeZq8sEvR8Q5h2NSMW8k9JNuyMFEQrYf7xZmxP1I/JDn/lC8 /J142y7WKxVUMWjtsNn20yPAfmjXPfol+r8HdExhS/BR2f87PzsGGkoMU7KpRYYVeK BIFreQ3bYp+gY5VEmusWcrW4=
- In-reply-to: <ZXU1XmZgWHzD4Io2@login.math.berkeley.edu>
- Mail-followup-to: pari-dev@pari.math.u-bordeaux.fr
- References: <ZXU1XmZgWHzD4Io2@login.math.berkeley.edu>
On Sat, Dec 09, 2023 at 07:49:50PM -0800, Ilya Zakharevich wrote:
> Are people ACTUALLY using “the sections” in the results of the GP command
> ?
> ? Myself, I use only “the tail” of its output. I do not ever recall
> finding what ?1 outputs useful in the slightest…
The start of the list is more for beginner, the end more for advanced users.
> (However, the output of ?19, ?20, ?21 is quite useful (although these is
> NOT LISTED in the output of
> ?
?19, ?20, ?21 list functions that are private to the GP interpreter and cannot
be called normally.
For example,
? _factor_Aurifeuille(5,5)
*** syntax error, unexpected invalid token, expecting end of file: _factor_Aurifeuille(5,5)
? _*_(5,5)
*** syntax error, unexpected invalid token, expecting end of file: _*_(5,5)
Though it is possible to call them using alias:
? alias("mul","_*_")
? mul(5,5)
%4 = 25
? fold(mul,[1..100])==100!
%5 = 1
Cheers,
Bill.