operator - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


type/operator

check for a functional operator

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

type(f, operator)

Parameters

f

-

any expression

Description

• 

A functional operator in Maple is a special form of a function. See operators/functional or refer to the Functional Operators section of the Maple Expressions chapter of the Maple Programming Guide for a full description of functional operators.

• 

The call type(f, operator) returns true if f is a functional operator, and false otherwise.

Examples

> 

f≔x↦3⋅x+5

f≔x↦3⋅x+5

(1)
> 

type⁡f,operator

true

(2)
> 

g≔x,y↦sin⁡x⋅cos⁡y+y⋅x

g≔x,y↦sin⁡x⋅cos⁡y+y⋅x

(3)
> 

type⁡g,operator

true

(4)
> 

p := proc(x) option operator; x^3-5 end proc;

p ≔ procxoptionoperator;x3−5end proc

(5)
> 

type⁡p,operator

true

(6)
> 

q := proc(x) x^3-5 end proc;

q ≔ procxx^3 − 5end proc

(7)
> 

type⁡q,operator

false

(8)

See Also

@

@@

convert/algebraic

D

examples/functionaloperators

operator

operators/D

operators/functional

ProgrammingGuide/MapleExpressions

type

unapply