Split - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


ListTools

  

Split

  

split a list into an expression sequence of lists

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Split(f, L, opts, ...)

Split[N](f, opt[1], ..., opt[N-1], L, opts, ...)

Parameters

L

-

list

f

-

procedure

N

-

positive integer

opts

-

(optional) options to procedure f

Description

• 

The Split(f, L) function splits list L at positions where procedure f returns true. The value of procedure f is determined by the expression  evaluated for each element x of list L.

  

The Split(f, L, opts) function performs in a similar manner, except that the value of procedure f is determined by the expression .

• 

If Split is indexed by a positive integer N, the expression  is evaluated for each list element x.

Examples

(1)

(2)

(3)

(4)

(5)

See Also

list

ListTools

map

type[list]

 


Download Help Document