return a list with zeros on the left - Maple Help

Online Help

All Products    Maple    MapleSim


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

MmaTranslator[Mma][PadLeft] - return a list with zeros on the left

Calling Sequence

PadLeft(arguments)

Parameters

arguments

-

Maple translation of the Mathematica command arguments

Description

• 

The PadLeft command returns a list of a specified length padding the list with zeros on the left.

Examples

withMmaTranslator[Mma]:

Use the command with the Maple translation.

PadLefta,b,c,d,e,9

0,0,0,0,a,b,c,d,e

(1)

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

withMmaTranslator:

FromMma`PadLeft[{a, b, c, d, e}, 9]`,evaluate

0,0,0,0,a,b,c,d,e

(2)

See Also

MmaTranslator, MmaTranslator[FromMma], MmaTranslator[Mma], MmaTranslator[Mma][PadRight]


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