RandomTools[MersenneTwister]
GenerateInteger32
Generate a signed 32 bit integer
Calling Sequence
Description
Examples
GenerateInteger32( )
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.
with⁡RandomToolsMersenneTwister
GenerateData,GenerateFloat,GenerateFloat64,GenerateInteger,GenerateInteger32,GenerateUnsignedInt32,GetState,NewGenerator,SetState
seq⁡GenerateInteger32⁡,i=1..10
1351727964,−1565614346,1742863086,1438850937,−1602079444,2013771743,1775435781,−1198149663,568478650,−823916245
See Also
rand
RandomTools
RandomTools[Generate]
RandomTools[MersenneTwister][GenerateFloat64]
RandomTools[MersenneTwister][GenerateFloat]
RandomTools[MersenneTwister][GenerateInteger]
RandomTools[MersenneTwister][GenerateUnsignedInt32]
Download Help Document