ListTools - Maple Help

Online Help

All Products    Maple    MapleSim


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

ListTools

  

JoinSequence

  

interspace the elements of a list with objects

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

JoinSequence(L, seps)

Parameters

L

-

list

seps

-

any sequence of Maple objects

Description

• 

The JoinSequence(L, seps) function inserts the separators seps between the elements of the list L.

• 

In the case that the separator is a single Maple object, using the routine ListTools[Join] results in better performance.

Examples

withListTools:

L1,2,3,4,5

L:=1,2,3,4,5

(1)

JoinSequenceL,x,y

1,x,y,2,x,y,3,x,y,4,x,y,5

(2)

See Also

list

ListTools

ListTools[Join]

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