Generate an unsigned 32 bit integer - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Random Objects : RandomTools package : MersenneTwister Subpackage : RandomTools/MersenneTwister/GenerateUnsignedInt32

RandomTools[MersenneTwister][GenerateUnsignedInt32] - Generate an unsigned 32 bit integer

Calling Sequence

GenerateUnsignedInt32( )

Description

• 

The GenerateUnsignedInt32 command returns an unsigned pseudo-random 32 bit integer.

• 

The Mersenne Twister algorithm is designed to generate 32 bit integers.  This function provides access to this low level functionality.

Examples

withRandomTools[MersenneTwister]

GenerateData,GenerateFloat,GenerateFloat64,GenerateInteger,GenerateInteger32,GenerateUnsignedInt32,GetState,NewGenerator,SetState

(1)

seqGenerateUnsignedInt32,i=1..10

3499211612,581869302,3890346734,3586334585,545404204,4161255391,3922919429,949333985,2715962298,1323567403

(2)

See Also

rand, RandomTools, RandomTools[Generate], RandomTools[MersenneTwister], RandomTools[MersenneTwister][GenerateFloat64] RandomTools[MersenneTwister][GenerateFloat], RandomTools[MersenneTwister][GenerateInteger] RandomTools[MersenneTwister][GenerateInteger32]


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