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
linalg[randmatrix] - random matrix generator
Calling Sequence
randmatrix(m, n, options)
Parameters
m, n
-
positive integers
options
(optional) names or equations
Description
Important: The linalg package has been deprecated. Use the superseding packages, LinearAlgebra and VectorCalculus, instead.
- For information on migrating linalg code to the new packages, see examples/LinearAlgebraMigration.
The randmatrix function generates a random matrix of dimension m by n. It is intended to be used for generating examples for debugging, testing, and demonstration purposes. Several options are available. The options determine the form of the matrix and the entries in the matrix.
The first two arguments specify the row dimension and column dimension. The remaining arguments are interpreted as options and are input as equations or names in any order. The names sparse, dense (default), symmetric, antisymmetric, and unimodular specify the structure of the matrix. The equation entries = f specifies that the nullary function f is to be used to generate the matrix entries. The default is rand(-99..99). Thus the matrix entries are random two digit integers.
The command with(linalg,randmatrix) allows the use of the abbreviated form of this command.
Examples
poly := proc() Randpoly(3, x) mod 3 end proc;
See Also
linalg(deprecated)[matrix], LinearAlgebra, LinearAlgebra[RandomMatrix], Matrix
Download Help Document