ReplaceRepeated - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


MmaTranslator[Mma]

  

ReplaceRepeated

  

perform replacements until expression no longer changes

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

ReplaceRepeated(arguments)

Parameters

arguments

-

Maple translation of the Mathematica command arguments

Description

• 

The ReplaceRepeated command performs replacements on a specified expression until the expression no longer changes.

Examples

withMmaTranslatorMma:

Use the command with the Maple translation.

ReplaceRepeatedx+x2,x=b,x2=x

2b

(1)

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

withMmaTranslator:

FromMma`ReplaceRepeated[x + x^2, {x -> b, x^2->x}]`,evaluate

2b

(2)

See Also

MmaTranslator

MmaTranslator[FromMma]

MmaTranslator[Mma]