MmaTranslator[Mma] - Maple Help

Online Help

All Products    Maple    MapleSim


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

MmaTranslator[Mma]

  

PadRight

  

return a list with zeros on the right

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

PadRight(arguments)

Parameters

arguments

-

Maple translation of the Mathematica command arguments

Description

• 

The PadRight command returns a list of a specified length padding the list with zeros on the right.

Examples

withMmaTranslator[Mma]:

Use the command with the Maple translation.

PadRighta,b,c,d,e,9

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

(1)

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

withMmaTranslator:

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

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

(2)

See Also

MmaTranslator

MmaTranslator[FromMma]

MmaTranslator[Mma]

MmaTranslator[Mma][PadLeft]

 


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