forpart docs

"Ruud H.G. van Tol" <[email protected]> Wed, 10 Dec 2025 12:10:49 +0100
Newsgroups gmane.comp.mathematics.pari.devel
Message-ID <[email protected]>
? ??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. :)

-- Ruud