Overview of the RandomTools Package
Calling Sequence
Description
List of RandomTools Package Commands
List of RandomTools Subpackages
RandomTools:-command(arguments)
command(arguments)
The RandomTools package is the primary interface for random number generation in Maple. In addition, the RandomTools package contains a collection of tools for working with random objects in Maple.
For a quick guide to generating random numbers, arrays, permutations, graphs, polynomials, etc, see the HowDoI,WorkWithRandomGenerators help page.
Each command in the RandomTools package can be accessed by using either the long form or the short form of the command name in the command calling sequence.
The long form, RandomTools:-command, is always available. The short form can be used after loading the package.
The following is a list of available commands.
AddFlavor
BlumBlumShub
Generate
GenerateSimilar
GenerateSimilarODE
GetFlavor
GetFlavors
GetState
HasFlavor
LinearCongruence
MersenneTwister
QuadraticCongruence
RandomExpand
RemoveFlavor
SetState
The RandomTools package contains subpackages that implement various pseudo-random number generators. Each of these generators have different properties that makes them attractive for different uses.
The following is a list of subpackages.
The Generate command accepts a so-called "flavor" as a specification of what sort of random objects to generate. The basic, predefined flavors are listed in the following table. They can be combined into structured flavors as described in flavor/structured.
choose
complex
distribution
exprseq
float
identical
integer
list
listlist
Matrix
negative
negint
nonnegative
nonnegint
nonposint
nonpositive
nonzero
nonzeroint
polynom
posint
positive
rational
set
string
structured
truefalse
variable
Vector
To display the help page for a particular RandomTools command, see Getting Help with a Command in a Package.
See Also
help
HowDoI,WorkWithRandomGenerators
module
rand
randomize
randpoly
Statistics:-Sample
UsingPackages
with
Download Help Document