The Sparse Indexing Function - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Data Types : Tables, lists, and sets : indexing functions : indexfcn/sparse

The Sparse Indexing Function

 

Calling Sequence

Description

Examples

Calling Sequence

table(sparse, ...)

array(sparse, ...)

Description

• 

The sparse indexing function is used to create an array or a table with a sparse representation, meaning that only nonzero elements are stored in the underlying data structure.

• 

Note: The command array has been superseded by Array.

Examples

Ttablesparse,A=a:

TA

a

(1)

TB

0

(2)

See Also

indexfcn

sparse