Re: forpart docs
Karim Belabas <[email protected]> Sat, 13 Dec 2025 10:54:40 +0100
| Newsgroups | gmane.comp.mathematics.pari.devel |
|---|---|
| Message-ID | <[email protected]> |
* Ruud H.G. van Tol [2025-12-10 12:11]:
> ? ??forpart
>
> forpart(X = k,seq,{a = k},{n = k}):
>
> [...]
>
> Optional parameters n and a are as follows:
>
> * n = nmax (resp. n = [nmin,nmax]) restricts partitions to length less than
> nmax (resp. length between nmin and nmax), where the length is the number of
> nonzero entries.
>
> * a = amax (resp. a = [amin,amax]) restricts the parts to integers less than
> amax (resp. between amin and amax).
>
>
>
> So the a and n are explained in a different order than they appear in the
> function definition.
> Is that on purpose? It was confusing me. :)
Not on purpose. :-) Docs updated.
Thanks,
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/