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
rtable_elems - return the elements of an rtable
rtable_num_elems - return the number of elements in an rtable
Calling Sequence
rtable_elems(A)
rtable_num_elems(A, opt)
Parameters
A
-
rtable object
opt
(optional) name; element status
Description
The rtable_elems(A) function, where A is an Array, Matrix, or Vector, returns a set of equations of the form (indices)=value specifying the values of the elements in rtable A.
Only the elements that explicitly need to be specified, taking into account storage, are returned.
For Arrays, this function is equivalent to op(3, A). For Matrices and Vectors, this is equivalent to op(2, A).
The rtable_num_elems(A) function, where A is an Array, Matrix, or Vector, returns the number of elements actually stored in rtable A.
This rtable_num_elems(A, opt) function performs in the same manner, except that one of the following options may be specified.
result
All
size of the rtable as specified by its bounds
Stored
number of entries actually stored (default)
NonZero
number of nonzero elements of the rtable
NonZeroStored
number of stored nonzero elements of the rtable
Bytes
number of bytes of storage allocated for data in the rtable
Allocated
number of elements for which storage has been allocated
Thread Safety
The rtable_num_elems command is thread-safe as of Maple 15.
For more information on thread safety, see index/threadsafe.
Examples
See Also
Array, Matrix, op, rtable, Vector
Download Help Document