Overview of the RandomTools Package - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Random Objects : RandomTools package : RandomTools

Overview of the RandomTools Package

 

Calling Sequence

Description

List of RandomTools Package Commands

List of RandomTools Subpackages

Calling Sequence

RandomTools[command](arguments)

command(arguments)

Description

• 

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.

• 

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.

  

As the underlying implementation of the RandomTools package is a module, it is also possible to use the form RandomTools:-command to access a command from the package. For more information,  see Module Members.

List of RandomTools Package Commands

  

The following is a list of available commands.

AddFlavor

BlumBlumShub

Generate

GetFlavor

GetFlavors

GetState

HasFlavor

LinearCongruence

MersenneTwister

QuadraticCongruence

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.

List of RandomTools Subpackages

  

The following is a list of subpackages.

BlumBlumShub

LinearCongruence

MersenneTwister

QuadraticCongruence

  

The "flavors" (or properties) of random objects that the commands in the RandomTools package accept are listed in the following table.

choose

complex

distribution

exprseq

float

identical

integer

lislist

list

Matrix

negative

negint

nonnegative

nonnegint

nonposint

nonpositive

nonzero

nonzeroint

polynom

posint

positive

rational

set

structured

truefalse

Vector

 

 

  

Structured flavors are described in flavor/structured.

  

To display the help page for a particular RandomTools command, see Getting Help with a Command in a Package.

See Also

help

module

rand

randomize

randpoly

Statistics[Sample]

UsingPackages

with

 


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