Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
type/trig - check for trigonometric functions
type/trigh - check for hyperbolic functions
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.
Examples
See Also
trigonometry, type, type[arctrig], type[function]
Download Help Document