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[TensorInnerProduct] - compute the inner product of two vectors, forms or tensors with respect to a given metric tensor
Calling Sequences
TensorInnerProduct(g, T, S)
Parameters
g - a covariant metric tensor on a manifold M
T, S - two vector fields, forms or tensors (with the same index type) on M
Description
Let P = TensorInnerProduct(g, T, S). Let g = g_{ij} dx^i &t dx^j and let h = h_{ij} D_x^i &t D_x^j be the inverse contravariant metric. If T = t^i*D_x^i and S = s^i*D_x^i are vectors, then P = g_{ij}*t^i*s^j. If T = t_i*dx^i and S = s_i*dx^i are 1-forms, then P = h^{ij} t_i*s_j. If T= t_{ij}*dx^i &w dx^j and S= s_{ij}*dx^i &w dx^j are 2-forms, then P = h^{ik}*h^{jl}*t_{ij}*s_{kl}. If T = t^i_{jk}*D_x^i &t dx^j &t dx^k and S = s^i_{jk}*D_x^i &t dx^j &t dx^k are type [1, 2] tensors, then P = g_{ia}h^{jb}*h^{kc}*t_^i{jk}*s^a{bc} and so on.
This command is part of the DifferentialGeometry:-Tensor package, and so can be used in the form TensorInnerProduct(...) only after executing the command with(DifferentialGeometry) and with(Tensor) in that order. It can always be used in the long form DifferentialGeometry:-Tensor:-TensorInnerProduct.
Examples
First define a manifold M with local coordinates [x, y] and define an (covariant) metric on M.
Example 1.
Compute the inner product of two vectors.
Example 2.
Compute the inner product of two 1-forms.
Example 3.
Compute the inner product of two 2-forms.
Example 4.
Compute the inner product of two 2-tensors.
See Also
DifferentialGeometry, Tensor
Download Help Document