construct an indexed expression
expression or name to be indexed
(optional) expression sequence of arguments to be passed to p
The index(p, rest) calling sequence is equivalent to constructing the expression p[rest].
If p is an indexable expression, index(p, rest) evaluates to the result of indexing p by rest; otherwise, it simply returns the indexed expression prest. For more about indexing, see selection.
Note: Calling index with one argument is equivalent to p, that is, p indexed with an empty index.
The index command was introduced in Maple 2017.
For more information on Maple 2017 changes, see Updates in Maple 2017.
Download Help Document