Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
RandomTools[LinearCongruence][SetState] - Set the internal state of the Linear Congruence Generator
Calling Sequence
SetState( option )
Parameters
option
-
(optional) argument of the form option=value where option is state
Description
The SetState command sets the state of the Linear Congruence pseudo-random number generator.
A state returned by GetState can be passed into SetState to regenerate a sequence of numbers.
SetState accepts one optional argument, state.
state=integer
The state argument specifies the data used to set the state of the generator. If the state argument is not given then the state is seeded using values taken from the system.
Examples
See Also
rand, RandomTools, RandomTools[Generate], RandomTools[GetState], RandomTools[LinearCongruence], RandomTools[LinearCongruence][GenerateInteger], RandomTools[LinearCongruence][GetState], RandomTools[SetState]
Download Help Document