RandomTools[MersenneTwister] - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

RandomTools[MersenneTwister]

  

GenerateInteger32

  

Generate a signed 32 bit integer

 

Calling Sequence

Description

Examples

Calling Sequence

GenerateInteger32( )

Description

• 

The GenerateInteger32 command returns a signed 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)

seqGenerateInteger32,i=1..10

1351727964,1565614346,1742863086,1438850937,1602079444,2013771743,1775435781,1198149663,568478650,823916245

(2)

See Also

rand

RandomTools

RandomTools[Generate]

RandomTools[MersenneTwister]

RandomTools[MersenneTwister][GenerateFloat64]

RandomTools[MersenneTwister][GenerateFloat]

RandomTools[MersenneTwister][GenerateInteger]

RandomTools[MersenneTwister][GenerateUnsignedInt32]

 


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