return the elements of an Array
return the number of elements in an Array
(optional) name; element status
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.
size of the Array as specified by its bounds
number of entries actually stored
number of nonzero elements of the Array
number of stored nonzero elements of the Array
number of bytes of storage allocated for data in the Array
number of elements for which storage has been allocated
A ≔ Array⁡0,1,1,0,0,1,0,0,0
Download Help Document
What kind of issue would you like to report? (Optional)