interleave a number of lists - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Data Types : Tables, lists, and sets : ListTools Package : ListTools/Interleave

ListTools[Interleave] - interleave a number of lists

Calling Sequence

Interleave(L1, L2,...)

Parameters

L1, L2, ...

-

lists

Description

• 

The Interleave(L1, L2, ...) function interleaves the elements of the specified lists.

• 

The number of elements in each list must be less than or equal to that of the preceding list. The first list can have at most one more operand than the last.

Examples

withListTools:

Interleave1,2,3,a,b,c,A,B,C

1,a,A,2,b,B,3,c,C

(1)

Interleave1,2,3,a,b,A,B

1,a,A,2,b,B,3

(2)

See Also

list, ListTools, type[list]


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam