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