MmaTranslator[Mma]
PadLeft
return a list with zeros on the left
Calling Sequence
Parameters
Description
Examples
PadLeft(arguments)
arguments
-
Maple translation of the Mathematica command arguments
The PadLeft command returns a list of a specified length padding the list with zeros on the left.
with⁡MmaTranslatorMma:
Use the command with the Maple translation.
PadLeft⁡a,b,c,d,e,9
0,0,0,0,a,b,c,d,e
Alternatively, you can use the FromMma command with the evaluate option specified.
with⁡MmaTranslator:
FromMma⁡`PadLeft[{a, b, c, d, e}, 9]`,evaluate
See Also
MmaTranslator
MmaTranslator[FromMma]
MmaTranslator[Mma][PadRight]
Download Help Document