Alternatives to _seed - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : System : Libraries and Packages : Deprecated Packages and Commands : Deprecated commands : _seed(deprecated)

Alternatives to _seed

Description

• 

Important: In releases of Maple up to and including 9.5, the _seed variable was used to store the state of the random number generators created by rand.  However this use of _seed has been deprecated and its special meaning may be removed in future releases of Maple.

• 

Instead of using _seed, use randomize, RandomTools[SetState], or RandomTools[GetState].

• 

Currently assigning to _seed or reading the value assigned to _seed will raise a warning.  However, the assignment will cause the state of the random number generator used by rand and RandomTools to be seeded from the given value.  As well, the value returned by a read from _seed will be a valid state that can be re-assigned to _seed.

See Also

rand

randomize

RandomTools

RandomTools[GetState]

RandomTools[SetState]

 


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