Karim Belabas on Sat, 13 Dec 2025 10:54:44 +0100


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

Re: forpart docs


* 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/