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/Array - check for a Array (rtable-based)
Calling Sequence
type(expr, Array)
type(expr, 'Array'(R))
Parameters
expr
-
any expression
R
Array indexing function, any Array option, name square, or an expression sequence of these
Description
A Maple Array is an rtable with subtype option Array.
The type(expr, Array) function returns true if expr is a Maple Array.
The type(expr, 'Array'(R)) function returns true if expr is a Maple Array with the indexing functions or options given in R (see Array for permissible options).
If R includes the name 'square', the dimensions of the Array are checked to see if they are all the same size (they do not have to have the same start and end values).
Note: It is essential to quote the word Array in this form of the calling sequence in order to avoid confusion with the Array(..) constructor function.
Examples
Check the contents of the Array.
Check the shape or options of the Array.
See Also
Array, rtable, rtable_options, type, type/rtable, type/structure
Download Help Document