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
Definition of Surface and Nested Types
Description
The type checks that require information only about the top level of the expression tree will be called ``surface types''.
Types that check a complete expression tree (probably recursively) will be called ``nested types''.
Most of the system types are surface types since these are encoded in the top node of the expression tree. Thus
Both return true regardless of the types of the components of the set in the first case, and regardless of the types of the terms of the sum in the second.
The following types are examples of surface types:
`!`
`*`
`+`
`..`
`.`
`<=`
`<>`
`<`
`=`
`^`
`and`
`intersect`
`minus`
`module`
`not`
`or`
`union`
algebraic
anything
applied
array
boolean
equation
even
float
fraction
function
indexed
integer
laurent
linear
list
listlist
logical
mathfunc
matrix
moduledefinition
monomial
name
negative
nonemptylist
nonemptyset
nonnegative
numeric
odd
point
positive
procedure
radical
range
rational
record
relation
RootOf
rtable
scalar
SDMPolynom
series
SERIES
set
sqrt
string
table
taylor
trig
type
uneval
vector
zppoly
The type 'constant', on the other hand, will completely scan an expression to determine whether or not it is composed of any nonconstant parts. Hence it is a nested type. The following types are examples of nested types:
algfun
algnum
appliable
constant
cubic
expanded
polynom
quadratic
quartic
radfun
radnum
ratpoly
See Also
Download Help Document