@
the composition operator
@@
the repeated composition operator
Calling Sequence
Parameters
Description
Composition Examples
Thread Safety
f @ g
f @@ n
f, g
-
any functions
n
integer
@ is the function composition operator.
@@ is the repeated function composition operator.
If n is negative, the invfunc table is checked to see if it has an entry for f. That is, if invfuncf=g, then f@@n−−>g@@−n.
Composition also applies to procedures. However, given two procedures f and g, the composition f@g is of type function, not type procedure. For more information, see type/function and type/procedure.
(sin@cos)(x);
sin⁡cos⁡x
(sin@arcsin)(x);
x
sin@arcsin;
sin@arcsin
simplify((3));
↦args
sin@@0;
sin@@1;
sin
(sin@@2)(x);
sin2⁡x
cos@@(-1);
arccos
(D@@2)(ln);
z↦−1z2
The @ and @@ operators are thread-safe as of Maple 15.
For more information on thread safety, see index/threadsafe.
See Also
combinat[composition]
invfunc
operator
simplify
type/composition
Download Help Document