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[Generate] - generate a particular random object
Calling Sequence
Generate(expr)
Parameters
expr
-
expression; defines the form of the random object
Description
The Generate(expr) function generates a particular random object that is determined by expr. The expr parameter is used to:
* indicate a particular Maple type,
* indicate a flavor template, where specific keywords describe the form of the returned random object, or
* choose a random entry from a Maple data structure.
The following list describes the Maple types, flavor templates, and data structures that are recognized by Generate. For more information about how to generate a random number that corresponds to one of these items, see the corresponding help page (flavor/<topic>).
choose
complex
distribution
exprseq
float
identical
integer
list
listlist
negative
negint
nonnegative
nonnegint
nonposint
nonpositive
nonzero
nonzeroint
polynom
posint
positive
rational
set
structured
truefalse
The Generate function calls the Maple rand procedure.
The Generate function maps onto all objects that are not of type atomic.
This function is part of the RandomTools package, and so it can be used in the form Generate(..) only after executing the command with(RandomTools). However, it can always be accessed through the long form of the command by using the form RandomTools[Generate](..).
Examples
See Also
LinearAlgebra[RandomMatrix], LinearAlgebra[RandomVector], makeproc, rand, RandomTools, randpoly, type/atomic
Download Help Document