type/operator - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Data Types : Type Checking : Types : type/operator

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

fx→3x+5

fx3x+5

(1)

typef,operator

true

(2)

gx,y→sinxcosy+xy

gx,ysinxcosy+yx

(3)

typeg,operator

true

(4)

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

p:=procxoptionoperator;x35end proc

(5)

typep,operator

true

(6)

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

q:=procxx^35end proc

(7)

typeq,operator

false

(8)

See Also

@

@@

convert/algebraic

D

examples/functionaloperators

operator

operators/D

operators/functional

ProgrammingGuide/MapleExpressions

type

unapply