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
The tensor Package Indexing Functions
Description
The tensor package provides routines which calculate quantities that are specific to the Theory of Relativity. Many of these quantities possess certain symmetries in the indices of their components. For this reason, the tensor package provides and uses some specific indexing functions to implement these symmetries. In some cases, the package also makes use of Maple symmetric and antisymmetric indexing functions.
The following indexing functions are implemented in the tensor package:
cf1
- implements symmetry in the first and second indices of a quantity with three indices
- used for: Christoffel symbols of the first kind, first partials of the covariant metric tensor components
cf2
- implements symmetry in the second and third indices of a quantity with three indices
- used for: Christoffel symbols of the second kind
cov_riemann
-implements the symmetric / skew-symmetric properties of the covariant Riemann (and Weyl) tensor components -- that is,
R[compts][c,d,a,b] = R[compts][a,b,c,d]
R[compts][b,a,c,d] = - R[compts][a,b,c,d]
R[compts][a,b,d,c] = - R[compts][a,b,c,d]
- used for: components of the covariant Riemann and Weyl tensors
d2met
- implements symmetry in the first and second indices and in the third and fourth indices of a quantity with 4 indices
- used for: second partials of the covariant metric tensor components
skew23
- implements skew-symmetry in the second and third indices of a 3-index quantity
- used for: structural coefficients in the tensor[connexF] routine
Examples
Store the Christoffel symbols of the first kind in the array C1. Use the cf1 indexing function to implement the symmetry in the last two indices.
Store the Christoffel symbols of the second kind in the array c2. Use the cf2 indexing function to implement the symmetry in the first two indices.
Store the covariant Riemann tensor components in the array R. Use the cov_riemann indexing function the implement the symmetries of the covariant Riemann tensor.
Store the second partials of the covariant metric tensor components in the array d2g. Use the d2met indexing function to implement the symmetries in the first and second pairs of indices:
See Also
Physics[Christoffel], tensor, tensor[Christoffel1], tensor[Christoffel2], tensor[connexF], tensor[d1metric], tensor[d2metric], tensor[npcurve], tensor[Riemann], tensor[RiemannF], tensor[Weyl]
Download Help Document