perform replacements until expression no longer changes - Maple Help

Online Help

All Products    Maple    MapleSim


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

MmaTranslator[Mma][ReplaceRepeated] - perform replacements until expression no longer changes

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

withMmaTranslator[Mma]:

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]


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