insert an element into a list - Maple Help

Online Help

All Products    Maple    MapleSim


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

MmaTranslator[Mma][Insert] - insert an element into a list

Calling Sequence

Insert(arguments)

Parameters

arguments

-

Maple translation of the Mathematica command arguments

Description

• 

The List command inserts an element in a list at a specified location.

Examples

withMmaTranslator[Mma]:

Use the command with the Maple translation.

Insert2,4,8,10,6,3

2,4,6,8,10

(1)

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

withMmaTranslator:

FromMma`Insert[{2, 4, 6, 10}, 6, [3]]`,evaluate

2,4,6,6,10

(2)

See Also

MmaTranslator, MmaTranslator[FromMma], MmaTranslator[Mma]


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