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
tensor[get_compts] - return the components field of a tensor_type
tensor[get_char] - return the index character field of a tensor_type
tensor[get_rank] - return the rank of a tensor_type
Calling Sequence
get_compts(A)
get_char(A)
get_rank(A)
Parameters
A
-
tensor_type object
Description
The function get_compts(A) returns the components of the tensor_type A.
The function get_char(A) returns the index character of the tensor_type A.
The function get_rank(A) returns the rank of the tensor_type A.
These procedures are not absolutely necessary since the fields of any table can be accessed directly. However, they provide a uniform and controlled access of the information contained in the tensor_type data type.
These functions are part of the tensor package, and so can be used in the form get_compts(..) / get_char(..) only after performing the command with(tensor), or with(tensor, get_compts) / with(tensor, get_char). These functions can always be accessed in the long form tensor[get_compts](..) / tensor[get_char](..).
Examples
Get the components, index character, and rank of the tensor T:
See Also
tensor, tensor[create]
Download Help Document