Difference between revisions of "SetSeed Command"
From GeoGebra Manual
m (Bot: Automated text replacement (-{{betamanual|version=4.2}} + )) |
Noel Lambert (talk | contribs) (scripting) |
||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=4.2}}</noinclude> | <noinclude>{{Manual Page|version=4.2}}</noinclude> | ||
− | {{command| | + | {{command|scripting}} |
; SetSeed[ <Integer> ]: Seeds the random number generator so that subsequent random numbers will be determined by the seed. | ; SetSeed[ <Integer> ]: Seeds the random number generator so that subsequent random numbers will be determined by the seed. | ||
{{Example|1=<code><nowiki>SetSeed[ 33 ]</nowiki></code>}} | {{Example|1=<code><nowiki>SetSeed[ 33 ]</nowiki></code>}} | ||
{{Note|1= See also [[RandomBetween Command|RandomBetween command]], [[RandomElement Command|RandomElement command]], [[RandomBinomial Command|RandomBinomial command]], [[RandomNormal Command|RandomNormal command]], [[RandomPoisson Command|RandomPoisson command]], [[RandomUniform Command|RandomUniform command]].}} | {{Note|1= See also [[RandomBetween Command|RandomBetween command]], [[RandomElement Command|RandomElement command]], [[RandomBinomial Command|RandomBinomial command]], [[RandomNormal Command|RandomNormal command]], [[RandomPoisson Command|RandomPoisson command]], [[RandomUniform Command|RandomUniform command]].}} |
Revision as of 18:33, 16 May 2013
- SetSeed[ <Integer> ]
- Seeds the random number generator so that subsequent random numbers will be determined by the seed.
Example:
SetSeed[ 33 ]