FCReplaceRepeated[exp, ru1, ...]
is like
ReplaceRepeated
, but it also allows to apply multiple
replacement rules sequentially.
Instead of doing exp //. ru1 //. ru2 //. ru3
one can
just write FCReplaceRepeated[exp, ru1, ru2, ru3]
.
[a, a -> b] FCReplaceRepeated
b
[a c, {a -> b, c -> d}] FCReplaceRepeated
b d
[a c, a -> b, c -> d] FCReplaceRepeated
b d
[a c, a -> b, c -> d, d -> e, b -> f] FCReplaceRepeated
e f