Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
Student[LinearAlgebra][RandomMatrix] - construct a random Matrix
Student[LinearAlgebra][RandomVector] - construct a random Vector
Calling Sequence
RandomMatrix(r, c, options)
RandomVector[o](d, options)
Parameters
r
-
non-negative integer; row dimension of the resulting Matrix
c
(optional) non-negative integer; column dimension of the resulting Matrix
[o]
(optional) use either [row] or [column] to specify the orientation of the resulting Vector
d
(optional) non-negative integer; dimension of the resulting Vector
options
(optional) parameters; for a complete list, see LinearAlgebra[RandomMatrix]
Description
The RandomMatrix(r, c) command returns an Matrix in which all entries have integer values in the range .
The RandomMatrix(r) command returns an Matrix in which all entries have integer values in the range .
The RandomVector(d) command returns a d-dimensional Vector in which all entries have integer entries in the range .
The RandomVector[row](d) command behaves like RandomVector(d), except that a row Vector is returned. If the orientation option is omitted or if RandomVector[column](d) is used, a column Vector is returned.
If the dimension is not provided, it defaults to 0.
Examples
See Also
LinearAlgebra[RandomMatrix], Student[LinearAlgebra]
Download Help Document