Ruud H.G. van Tol on Wed, 10 Dec 2025 12:10:59 +0100


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

forpart docs



? ??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