listlist - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


RandomTools Flavor: listlist

describe a list of lists of random objects

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

listlist(flav, m, n)

Parameters

flav

-

random flavor

m

-

non-negative integer

n

-

(optional) non-negative integer

Description

• 

The flavor listlist describes a list of m lists, each with n entries, where each entry is described by the given random flavor flav. In the case where only m is given, n is assumed equal to m.

  

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

Examples

> 

with⁡RandomTools:

> 

Generate⁡listlist⁡integer⁡range=−10..10,3

4,2,−5,−9,1,−7,−5,−6,6

(1)
> 

Generate⁡listlist⁡rational⁡denominator=30,5,2

13,730,−215,2930,215,−25,1115,1315,1330,−1130

(2)
> 

Generate⁡listlist⁡rational⁡denominator=30,2,5

−16,−215,−130,−130,−815,23,2930,1730,−1115,25

(3)

See Also

flavor/structured

rand

RandomTools

RandomTools[Generate]

type/listlist