ApplyTo
ApplyTo[x,f] or x//=f
computes f[x] and resets x to the result.
Examples
open allclose allBasic Examples (1)
Scope (5)
Use ApplyTo with an operator form:
Use ApplyTo with Composition:
Use ApplyTo with RightComposition:
The first argument to ApplyTo need not be a symbol:
Applications (2)
Wolfram Research (2020), ApplyTo, Wolfram Language function, https://reference.wolfram.com/language/ref/ApplyTo.html.
Text
Wolfram Research (2020), ApplyTo, Wolfram Language function, https://reference.wolfram.com/language/ref/ApplyTo.html.
CMS
Wolfram Language. 2020. "ApplyTo." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ApplyTo.html.
APA
Wolfram Language. (2020). ApplyTo. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ApplyTo.html