return a list of non-overlapping lists - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Connectivity : Mathematica Translator : Mma : MmaTranslator/Mma/Partition

MmaTranslator[Mma][Partition] - return a list of non-overlapping lists

Calling Sequence

Partition(arguments)

Parameters

arguments

-

Maple translation of the Mathematica command arguments

Description

• 

The Partition command returns a list of non-overlapping sublists of a specified length.

Examples

withMmaTranslator[Mma]:

Use the command with the Maple translation.

Partitiona,b,c,d,e,f,g,h,2

a,b,c,d,e,f,g,h

(1)

Alternatively, you can use the FromMma command with the evaluate option specified.

withMmaTranslator:

FromMma`Partition[{a, b, c, d, e, f, g, h}, 2]`,evaluate

a,b,c,d,e,f,g,h

(2)

See Also

MmaTranslator, MmaTranslator[FromMma], MmaTranslator[Mma], MmaTranslator[Mma][Split]


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