next | previous | forward | backward | up | top | index | toc | Macaulay2 website
MonomialAlgebras :: SetSeed

SetSeed -- Option to set the random seed for randomSemigroup and randomMonomialAlgebra.

Description

Option to set the random seed for randomSemigroup and randomMonomialAlgebra.

For the standard option false Macaulay2 automatically produces a random seed from various system parameters.

If the option is true, then the command setRandomSeed() is applied upon initialization of the function to use always the standard Macaulay2 random seed.

If the option is set to an integer r then setRandomSeed(r) is applied.

Functions with optional argument named SetSeed :

For the programmer

The object SetSeed is a symbol.