Close
Close window
@ - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

@

the composition operator

@@

the repeated composition operator

Calling Sequence

f @ g

fg

f @@ n

Parameters

f, g

-

any functions

n

-

integer

Description

@ 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.

You can enter the composition operator @ using either the 1-D or 2-D calling sequence. For example, f @ g is equivalent to fg. Note that the composition symbol is found in the Common Symbols palette.

Composition also applies to procedures. However, given two procedures f and g, the composition fg is of type function, not type procedure. For more information, see type/function and type/procedure .

Composition Examples

>

(sin@cos)(x);

sincosx

(1)
>

(sin@arcsin)(x);

x

(2)
>

sin@arcsin;

sinarcsin

(3)
>

simplify((3));

args

(4)
>

sin@@0;

args

(5)
>

sin@@1;

sin

(6)
>

(sin@@2)(x);

sin2x

(7)
>

cos@@(-1);

arccos

(8)
>

(D@@2)(ln);

z1z2

(9)

Thread Safety

The @ and @@ operators are thread-safe as of Maple 15.

For more information on thread safety, see index/threadsafe .


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /