RandomTools[MersenneTwister] - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

RandomTools[MersenneTwister]

  

GenerateFloat64

  

Generate a random float[8]

 

Calling Sequence

Description

Examples

Calling Sequence

GenerateFloat64( )

Description

• 

The GenerateFloat64 command returns a pseudo-random float[8] value, uniformly distributed in the range [0,1).

• 

The value returned by GenerateFloat64 can be assigned to a float[8] without any loss of precision.

Examples

withRandomTools[MersenneTwister]

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

(1)

seqGenerateFloat64,i=1..10

0.814723686393178936,0.905791937075619225,0.126986816293506055,0.913375856139019393,0.632359246225409510,0.0975404049994095246,0.278498218867048397,0.546881519204983846,0.957506835434297598,0.964888535199276531

(2)

See Also

rand

RandomTools

RandomTools[Generate]

RandomTools[MersenneTwister]

RandomTools[MersenneTwister][GenerateInteger]

RandomTools[MersenneTwister][GenerateInteger32]

RandomTools[MersenneTwister][GenerateUnsignedInt32]

RandomTools[MersenneTwister][GenerateFloat]

 


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