Difference between revisions of "SetSeed Command"
From GeoGebra Manual
(Created page with "<noinclude>{{Manual Page|version=4.2}}</noinclude>{{betamanual|version=4.2}} {{command|list}} ; SetSeed[ <Integer> ]: Seeds the random number generator so that subsequent random ...") |
(command syntax: changed [ ] into ( )) |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version= | + | <noinclude>{{Manual Page|version=5.0}}</noinclude> {{command|scripting}} |
− | {{command| | + | ; SetSeed( <Integer> ): Seeds the random number generator so that subsequent random numbers will be determined by the seed. |
− | ; SetSeed | + | {{Example|1=<code><nowiki>SetSeed(33)</nowiki></code>}} |
− | {{Example|1=<code><nowiki>SetSeed | ||
{{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]].}} |
Latest revision as of 09:12, 12 October 2017
- SetSeed( <Integer> )
- Seeds the random number generator so that subsequent random numbers will be determined by the seed.
Example:
SetSeed(33)