Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
tensor[act] - perform an action on either a tensor_type, a spin coefficient table and curvature component table
Calling Sequence
act( action, args[2..nargs])
Parameters
action
-
name that is recognized by act() to designate the action wanted to be performed on an object.
args[2..nargs]
contains the objects to be acted upon and additional parameters depending on the specified action.
Description
action usually is the name of an admissible procedure, and,
acts on precisely ONE algebraic argument, and
the "target" argument it acts on is its FIRST argument. (Most of the standard functions like simplify(), normal() fall into this category.) Note: an admissible procedure may employ extra or optional argument(s), as long as they come after the "target" one in the parameter list, e.g. simplify( .. , trig ).
There are, however, two exceptions :
action can take the name display, used as a flag. In which case act displays the nonzero element/component(s) of the parameter immediately after it which is presumably either a tensor_type, spin coefficient table or a curvature component table.
action can also take subs, which is a maple function. subs is an exception because the "target" object in the function subs() is the last parameter.
To reinforce, any other input to action (which then must be the name of a procedure) must abide by the restrictions (1) and (2) above.
args[2..nargs] - if action was input 'display', then this contains ONE argument which is the object to display.
args[2..nargs] - if action is an "admissible" procedure name, then this is essentially the argument sequence of the procedure "action", including any possible extra arguments needed to specify the operation wanted, except the target argument is now of a more complex structure than just algebraic.
This function is part of the tensor package, and can be used in the form act(..) only after performing the command with(tensor), or with(tensor, act). The function can always be accessed in the long form tensor[act].
Examples
NON-ZERO INDEPENDENT COMPONENTS :"[1, 1] ="
"[2, 2] ="
CHARACTER :
INDEXING FUNCTION :
NON-ZERO SPIN COEFFICIENTS :"rho ="
"nu ="
"kappa ="
"tau ="
"sigma ="
"beta ="
"gamma ="
"epsilon ="
"alpha ="
NON-ZERO CURVATURE COMPONENTS :`Psi[2] =`
`Psi[3] =`
R =
See Also
tensor
Download Help Document