RandomTools Flavor: exprseq - Maple Help

# Online Help

###### All Products    Maple    MapleSim

Home : Support : Online Help : Programming : Random Objects : RandomTools package : Flavors : RandomTools/flavor/exprseq

RandomTools Flavor: exprseq

describe an expression sequence of random objects

 Calling Sequence exprseq(flav, n)

Parameters

 flav - random flavor n - non-negative integer

Description

 • The flavor exprseq describes an expression sequence 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{exprseq}\left(\mathrm{integer},7\right)\right)$
 ${-}{104281139460}{,}{-}{306860183579}{,}{-}{477575829529}{,}{300187484465}{,}{-}{72447943125}{,}{342622684448}{,}{-}{87713714154}$ (1)
 > $\mathrm{Generate}\left(\mathrm{exprseq}\left(\mathrm{rational}\left(\mathrm{denominator}=30\right),10\right)\right)$
 $\frac{{1}}{{3}}{,}\frac{{7}}{{30}}{,}{-}\frac{{2}}{{15}}{,}\frac{{29}}{{30}}{,}\frac{{2}}{{15}}{,}{-}\frac{{2}}{{5}}{,}\frac{{11}}{{15}}{,}\frac{{13}}{{15}}{,}\frac{{13}}{{30}}{,}{-}\frac{{11}}{{30}}$ (2)

 See Also

## Was this information helpful?

 Please add your Comment (Optional) E-mail Address (Optional) What is ? This question helps us to combat spam