Skip to content

ReplaceAll ​

Generated from the engine's own definition: compute-engine's symbol, which we neither extend nor document by hand. No examples yet — the crosswalk is the reason it has a page.

ReplaceAll(expr, rules): apply one or more replacement rules to expr, then evaluate the result (Mathematica expr /. rules). A rule is Rule(lhs, rhs), or lhs -> rhs in LaTeX (parsed as To; in Epsil -> builds a dictionary entry, which is not a rule). Several rules may be given as extra arguments or as a List/Set of rules; they are applied simultaneously in a single pass.

Wolfram LanguageReplaceAll
ReplaceAll(any, any+) -> anya rule with a compound left side applies wherever it matches, top-down, the first matching rule winning at each part.
Typed signatures
TypePackageApplies
(any, any+) -> anycombinatoricsreplaces compute-enginealways
(any, any+) -> anycompute-enginealways

Domain: Compute engine

About
CrosswalkWolfram Language