 list - Maple Help

RandomTools Flavor: list

describe a list of random objects Calling Sequence list(flav, n) Parameters

 flav - random flavor n - non-negative integer Description

 • The flavor list describes a list with n entries where each entry is described by the given random flavor flav.
 This flavor can be used as an argument to RandomTools[Generate] or as part of a structured flavor. Examples

 > $\mathrm{with}\left(\mathrm{RandomTools}\right):$
 > $\mathrm{Generate}\left(\mathrm{list}\left(\mathrm{integer},2\right)\right)$
 $\left[{-104281139460}{,}{-306860183579}\right]$ (1)
 > $\mathrm{Generate}\left(\mathrm{list}\left(\mathrm{rational}\left(\mathrm{denominator}=30\right),10\right)\right)$
 $\left[{-}\frac{{4}}{{5}}{,}\frac{{2}}{{15}}{,}\frac{{29}}{{30}}{,}\frac{{7}}{{15}}{,}\frac{{1}}{{5}}{,}\frac{{4}}{{15}}{,}{-}\frac{{5}}{{6}}{,}{-}\frac{{1}}{{10}}{,}\frac{{1}}{{15}}{,}{-}\frac{{13}}{{30}}\right]$ (2)
 > $H≔\mathrm{Generate}\left('\mathrm{hypergeom}'\left(\mathrm{list}\left(\mathrm{posint}\left(\mathrm{range}=7\right),3\right),\mathrm{list}\left(\mathrm{posint}\left(\mathrm{range}=7\right),2\right),\mathrm{identical}\left(x\right)\right)\right)$
 ${H}{≔}{\mathrm{hypergeom}}{}\left(\left[{3}{,}{5}\right]{,}\left[{2}\right]{,}{x}\right)$ (3)
 > $\mathrm{convert}\left(H,\mathrm{StandardFunctions}\right)$
 $\frac{{3}{}{x}{+}{2}}{{2}{}{\left({1}{-}{x}\right)}^{{6}}}$ (4)