RightComposition

RightComposition[f1,f2,f3,]

represents a composition on the right of the functions f1, f2, f3, .

Details

Examples

open allclose all

Basic Examples  (2)

Apply a composition of functions to arguments:

Apply a composition using infix notation:

Scope  (4)

Use pure functions inside RightComposition:

Use Apply with RightComposition:

RightComposition objects are automatically simplified when possible:

Assign a RightComposition object to a variable:

The variable can be used like any other function:

Applications  (2)

Create a composition of a sequence of functions:

Create a sum of numbers to be displayed in held form:

Properties & Relations  (9)

RightComposition[f] gives f:

RightComposition[] gives Identity:

Identity inside a composition is automatically removed:

Consecutive TransformationFunction objects are combined:

InverseFunction of a composition produces a reversed composition of inverse functions:

RightComposition composes on the right:

Composition composes on the left:

Pure functions let you set up objects that work like RightComposition:

Different ways of entering the same right composition:

RightComposition is natural with postfix notation, entering the functions in the same order:

With prefix notation, the functions are reversed relative to pure prefix application:

Compose a function with itself times using Nest:

Compose a function with itself times using RSolve:

Possible Issues  (1)

RightComposition[] objects do not hold their arguments:

Use ordinary function application to allow functions to hold their arguments:

Neat Examples  (1)

Tabulate square roots of values without using auxiliary variables:

Wolfram Research (2014), RightComposition, Wolfram Language function, https://reference.wolfram.com/language/ref/RightComposition.html.

Text

Wolfram Research (2014), RightComposition, Wolfram Language function, https://reference.wolfram.com/language/ref/RightComposition.html.

CMS

Wolfram Language. 2014. "RightComposition." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/RightComposition.html.

APA

Wolfram Language. (2014). RightComposition. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/RightComposition.html

BibTeX

@misc{reference.wolfram_2024_rightcomposition, author="Wolfram Research", title="{RightComposition}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/RightComposition.html}", note=[Accessed: 18-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_rightcomposition, organization={Wolfram Research}, title={RightComposition}, year={2014}, url={https://reference.wolfram.com/language/ref/RightComposition.html}, note=[Accessed: 18-November-2024 ]}