RandomTools Flavor: set - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

RandomTools Flavor: set

describe a set of random objects

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

set(flav, n)

Parameters

flav

-

random flavor

n

-

non-negative integer

Description

• 

The flavor set describes a set containing n entries where the entries of this set are described by the given random flavor flav.  The final set can contain fewer than n entries if the same object is generated more than once.

  

This flavor can be used as an argument to RandomTools[Generate] or as part of a structured flavor.

Examples

withRandomTools:

Generatesetposintrange=10,10

1,2,4,5,6,7,8,10

(1)

Generatesetrationaldenominator=6,10

23,12,13,12,13,23,56

(2)

See Also

flavor/structured

rand

RandomTools

RandomTools[Generate]

set

 


Download Help Document

Was this information helpful?



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