GenerateUnsignedInt32 - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


RandomTools[MersenneTwister]

  

GenerateUnsignedInt32

  

Generate an unsigned 32 bit integer

 

Calling Sequence

Description

Examples

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

withRandomToolsMersenneTwister

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]