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
RTableLowerBound - query the lower bound of the ith dimension of an rtable in external code
RTableUpperBound - query the upper bound of the ith dimension of an rtable in external code
Calling Sequence
RTableLowerBound(kv, rt, dim)
RTableUpperBound(kv, rt, dim)
Parameters
kv
-
kernel handle returned by StartMaple
rt
Maple rtable object
dim
integer specifying dimension
Description
These functions are part of the OpenMaple interface to Microsoft(R) Visual Basic(R).
The RTableLowerBound function returns the lower bound of dimension dim for the given rtable, rt. For rtables with subtype Matrix and Vector, this always returns 1. For Arrays, this command is equivalent to calling lhs([rtable_dims(A)][dim]), or op([2,dim,1],rt).
The RTableUpperBound function returns the upper bound of dimension dim for the given rtable, rt. For rtables with subtype Matrix and Vector, this is equivalent to to calling op([1,dim],rt). For Arrays, this command is equivalent to calling op([2,dim,2],rt). For all rtables, it is equivalent to calling rhs([rtable_dims(A)][dim]).
Examples
Dim rt As Long
rt = EvalMapleStatement(kv, "Matrix([[1,2,3],[4,5,6]]);")
Write #1, RTableLowerBound(kv, rt, 1), RTableUpperBound(kv, rt, 1)
Write #1, RTableLowerBound(kv, rt, 2), RTableUpperBound(kv, rt, 2)
See Also
OpenMaple, OpenMaple/VB/API, OpenMaple/VB/Examples, rtable, rtable_dims, trademark
Download Help Document