trig - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


type/trig

check for trigonometric functions

type/trigh

check for hyperbolic functions

 

Calling Sequence

Parameters

Description

Supertypes

Examples

Calling Sequence

type(expr, trig(x))

type(expr, trig)

type(expr, trigh(x))

type(expr, trigh)

Parameters

expr

-

any expression

x

-

variable name

Description

• 

The call type(expr, trig) returns true if expr is a function and the function name is one of the trigonometric functions:

• 

The call type(expr, trig(x)) checks, in addition, that the argument to the trigonometric function contains the variable name x.

• 

The call type(expr, trigh) returns true if expr is a function and the function name is one of the functions:

  

Otherwise, it returns false.

• 

The call type(expr, trigh(x)) checks, in addition, that the argument to the hyperbolic function contains the variable name x.

• 

It is important to note that the type trigh is a subset of the type trig; that is, objects of type trigh are also of type trig, but the converse is not true.

Supertypes

• 

type/function

Examples

(1)

(2)

(3)

(4)

(5)

(6)

(7)

(8)

(9)

(10)

(11)

(12)

(13)

See Also

trigonometry

type

type/arctrig

type/function

 


Download Help Document