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
RTableCopy - copy an rtable in external code
Calling Sequence
RTableCopy(kv, rts, rt)
Parameters
kv
-
kernel handle returned by StartMaple
rts
pointer to an RTableSettings structure
rt
Maple rtable object
Description
This function is part of the OpenMaple interface to Microsoft Visual Basic.
The RTableCopy function creates a new rtable with the data copied from the given rtable, rt, and the settings specified in rts.
After calling RTableCopy, rts.num_dimensions is updated to the match the copied rtable. It is not possible to change the number of dimensions setting for the target rtable.
Examples
Public Sub TestRTableCopy(ByVal kv As Long)
Dim rts As RTableSettings
Dim rt As Long
' original rtable
rt = EvalMapleStatement(kv, "Matrix([[1,2,3],[4,5,6]]);")
' create the copy with dense storage and float[8] datatype /
RTableGetDefaults kv, rts
rts.data_type = RTABLE_FLOAT64
rts.storage = RTABLE_RECT
rt = RTableCopy(kv, rts, rt)
MapleALGEB_Printf1 kv, "result = %a", rt
End Sub
See Also
OpenMaple, OpenMaple/VB/API, OpenMaple/VB/Examples, rtable, trademarks
Download Help Document