GenerateInteger32 - 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]

  

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

withRandomToolsMersenneTwister

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]