Enumerate - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


ListTools

  

Enumerate

  

enumerate the operands of a list

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Enumerate(L)

Enumerate(L, n)

Parameters

L

-

lists

n

-

algebraic expression

Description

• 

The Enumerate(L) function converts the list into a list of lists, where each sublist has as its first operand the position of the original operand, and the second argument is that operand itself.

• 

The Enumerate(L, n) function starts the enumeration at the value n.

Examples

withListTools:

L0.,0.84,0.91,0.14,0.76,0.96,0.28,0.41,0.54

L0.,0.84,0.91,0.14,−0.76,−0.96,−0.28,0.41,−0.54

(1)

EnumerateL

1,0.,2,0.84,3,0.91,4,0.14,5,−0.76,6,−0.96,7,−0.28,8,0.41,9,−0.54

(2)

EnumerateL,0

0,0.,1,0.84,2,0.91,3,0.14,4,−0.76,5,−0.96,6,−0.28,7,0.41,8,−0.54

(3)

See Also

ListTools

type[list]