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
ArrayElems - return the elements of an Array
ArrayNumElems - return the number of elements in an Array
Calling Sequence
ArrayElems(A)
ArrayNumElems(A, opt)
Parameters
A
-
Array object
opt
(optional) name; element status
Description
The ArrayElems(A) function returns a set of equations of the form (indices)=value specifying the values of the elements in Array A.
Only the elements that explicitly need to be specified, taking into account storage, are returned. In the case of scalar storage, the appropriate special initializer format is returned instead of a set of equations.
This function is equivalent to op(3, A).
The ArrayNumElems(A) function returns the number of elements actually stored in Array A.
This ArrayNumElems(A, opt) function performs in the same manner, except that one of the following options may be specified.
result
All
size of the Array as specified by its bounds
Stored
number of entries actually stored
NonZero
number of non-zero elements of the Array
NonZeroStored
number of stored non-zero elements of the Array
Bytes
number of bytes of storage allocated for data in the Array
Allocated
number of elements for which storage has been allocated
Examples
See Also
Array, ArrayDims, op, rtable, rtable_elems
Download Help Document