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/dimension - check for a Units package dimension
Calling Sequence
type(expr, dimension)
type(expr, dimension(typ, p))
Parameters
expr
-
expression
typ
either base or derived
p
(optional) name
Description
A Maple dimension is a product of rational powers of symbols or functions of symbols whose arguments are symbols, where the symbols are base dimensions in the Units package.
The type(expr, dimension) and type(expr, dimension(base)) calling sequences return true if expr has the form of valid output from the function convert/dimensions with the base=true option, that is, a function of base dimensions.
The type(expr, dimension(derived) calling sequence returns true if expr is a derived dimension with a special name or type(expr, dimension) would return true.
If a second option p is given and type/dimension returns true, the function of base dimensions corresponding to expr is assigned to p.
Examples
See Also
convert/dimensions, type, type/function, type/rational, type/symbol, Units, Units/Index
Download Help Document