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
ArrayTools[RandomArray] - randomly generate scalars, Matrices, and Arrays of values drawn from a uniform or normal distribution
Calling Sequence
RandomArray();
RandomArray(distribution = uniform);
RandomArray(n);
RandomArray(n, distribution = uniform);
RandomArray(m, n);
RandomArray(m, n, distribution = uniform);
RandomArray(m, n, o, ...);
RandomArray(m, n, o, ..., distribution = uniform);
RandomArray(distribution = normal);
RandomArray(n, distribution = normal);
RandomArray(m, n, distribution = normal);
RandomArray(m, n, o, ..., distribution = normal);
Parameters
m, n, o, ...
-
length of each dimension
distribution = uniform, distribution = normal
type of a statistic distribution
Description
The RandomArray() and RandomArray(distribution = uniform) functions randomly generate a scalar value drawn from a uniform distribution on the unit interval.
The RandomArray(n) and RandomArray(n, distribution = uniform) functions randomly generate an n-by-n matrix of values derived as described above.
The RandomArray(m, n) and RandomArray(m, n, distribution = uniform) functions randomly generate an m-by-n matrix of the same.
The RandomArray(m, n, o, ...) and RandomArray(m, n, o, ..., distribution = uniform) functions randomly generate an m-by-n-by-o-by-... array of the same.
The RandomArray(distribution = normal) function randomly generates a scalar value drawn from a standard normal distribution.
The RandomArray(n, distribution = normal) function randomly generates an n-by-n matrix of values derived as described above.
The RandomArray(m, n, distribution = normal) function randomly generates an m-by-n matrix of the same.
The RandomArray(m, n, o, ..., distribution = normal) function randomly generates an m-by-n-by-o-by-... array of the same.
A negative entry for the length of a dimension is treated as zero.
This function is part of the ArrayTools package, so it can be used in the short form RandomArray(..) only after executing the command with(ArrayTools). However, it can always be accessed through the long form of the command by using ArrayTools[RandomArray](..).
Examples
See Also
ArrayTools[Size], rtable_indexing, Statistics[Sample]
Download Help Document