represents a composition of the functions f1, f2, f3, ….
- Composition allows you to build up compositions of functions which can later be applied to specific arguments.
- Composition objects containing Identity or InverseFunction[f] are automatically simplified when possible. »
- Composition has the attributes Flat and OneIdentity.
- Composition can be entered in the form f1 @* f2 @* ….
Examplesopen allclose all
Basic Examples (2)
Use pure functions inside Composition:
Identity inside a composition is simplified:
InverseFunction inside a composition is simplified if possible:
Properties & Relations (7)
Composition composes on the left:
RightComposition composes on the right:
Pure functions let you set up objects that work like Composition:
Compose a function with itself times using Nest:
Compose a function with itself times using RSolve:
Compose TransformationFunction objects:
Use ComposeSeries to do composition of series expansions: