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[partial_diff] - compute the partial derivatives of a tensor_type with respect to given coordinates
Calling Sequence
partial_diff( U, coord)
Parameters
U
-
tensor_type whose partial derivatives are to be found
coord
list of names representing the coordinate variables
Description
Given the coordinate variables, coord, and any tensor_type U, partial_diff(U, coord) constructs the partial derivatives of U, which will be a new tensor_type (not necessarily a tensor, of course) of rank one higher than that of U.
The extra index due to differentiation is of covariant character, by convention. Thus the index_char field of the result is .
Simplification: This routine uses the `tensor/partial_diff/simp` routine for simplification purposes. The simplification routine is applied to each component of result after it is computed. By default, `tensor/partial_diff/simp` is initialized to the `tensor/simp` routine. It is recommended that the `tensor/partial_diff/simp` routine be customized to suit the needs of the particular problem.
When computing the first and second partial derivatives of the covariant metric tensor components, it is suggested that the tensor[d1metric] and tensor[d2metric] routines be used instead of the partial_diff routine so that the symmetries of the first and second partials be implemented using the tensor package indexing functions. The partial_diff routine does not preserve any symmetric properties that the indices of its input may have.
This function is part of the tensor package, and so can be used in the form partial_diff(..) only after performing the command with(tensor) or with(tensor, partial_diff). The function can always be accessed in the long form tensor[partial_diff](..).
Examples
See Also
tensor, tensor/cov_diff, tensor/directional_diff, tensor/exterior_diff, tensor/Lie_diff, tensor[d1metric], tensor[d2metric], tensor[indexing], tensor[simp]
Download Help Document