Maple für Professional
Maple für Akademiker
Maple für Studenten
Maple Personal Edition
Maple Player
Maple Player für iPad
MapleSim für Professional
MapleSim für Akademiker
Maple T.A. - Testen & beurteilen
Maple T.A. MAA Placement Test Suite
Möbius - Online-Courseware
Machine Design / Industrial Automation
Luft- und Raumfahrt
Fahrzeugtechnik
Robotics
Energiebranche
System Simulation and Analysis
Model development for HIL
Anlagenmodelle für den Regelungsentwurf
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematikausbildung
Technik
Allgemein- und berufsbildende Schulen
Testen und beurteilen
Studierende
Finanzmodelle
Betriebsforschung
Hochleistungsrechnen
Physik
Live-Webinare
Aufgezeichnete Webinare
Geplante Veranstaltungen
MaplePrimes
Maplesoft-Blog
Maplesoft-Mitgliedschaft
Maple Ambassador Program
MapleCloud
Technische Whitepapers
E-Mail Newsletters
Maple-Bücher
Math Matters
Anwendungs-Center
MapleSim Modell-Galerie
Anwenderberichte
Exploring Engineering Fundamentals
Lehrkonzepte mit Maple
Maplesoft Welcome-Center
Resource-Center für Lehrer
Help-Center für Studierende
Statistics[Shuffle] - apply random permutation to a data sample
Calling Sequence
Shuffle(X, options)
Parameters
X
-
data sample
options
(optional) equation of the form inplace = truefalse; indicates whether to change the argument
Description
The Shuffle command applies a random permutation to X.
The first parameter X is a data sample which must be given as a one-dimensional Array, a Vector, or a list.
An option or can be specified as a second argument. With , Shuffle will change X in place if it is an Array or a Vector; with , Shuffle will return a new (shuffled) copy of X. If X is a list, then Shuffle returns a new copy either way. The default is .
The option can be abbreviated to .
Notes
The Shuffle command accepts non-numeric data.
Examples
So far, itself has not changed. The inplace option changes this.
Note that the output of Maple's random number generator is reproducible after a restart. If this is undesirable, one can use the randomize command.
See Also
Statistics, Statistics[Computation], Statistics[OrderByRank], Statistics[Rank], Statistics[Sort]
Download Help Document