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
LinearAlgebra[Modular][Fill] - fill mod m Matrix or Vector with specified value
Calling Sequence
Fill(m, fillv, A)
Parameters
m
-
modulus
fillv
(optional) fill value; numeric in the range or keyword
A
mod m Matrix or Vector, including subspec
Description
The Fill function fills the mod m Matrix or Vector A with the specified value fillv. If a fill value, fillv, is not specified, 0 is used. The value NULL is returned.
If fillv is the keyword random, the mod m Matrix or Vector A is filled with random values in the range .
The Fill function allows you to use sub-Matrix and sub-Vector specifications for the mod m Matrix or Vector. For example, the function can be used to clear specific rows of a Matrix, or part of a Vector.
This command is part of the LinearAlgebra[Modular] package, so it can be used in the form Fill(..) only after executing the command with(LinearAlgebra[Modular]). However, it can always be used in the form LinearAlgebra[Modular][Fill](..).
Examples
Fill entire Matrix with 0.
Fill row 3 with value 2.
Fill column 2 with 0.
Fill all but first and last elements of a row Vector with 5.0.
Fill Matrix with random values.
See Also
LinearAlgebra/Details, LinearAlgebra[Modular], LinearAlgebra[Modular][Copy], LinearAlgebra[Modular][Create], LinearAlgebra[Modular][subspec]
Download Help Document