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
Physics[Vectors][Component] - the component (first, second, or third) of a vector
Calling Sequence
Component(A, n)
Parameters
A
-
an algebraic vector
n
a name or one of 1, 2, 3, or an algebraic expression representing these numbers
Description
Component(A, n) returns the nth. component of the vector A when A is a projected vector expression, or an unevaluated representation of the nth component when A is a non-projected vector or n is an unresolved name representing one of 1, 2 or 3. If A is not a vector then an error message is returned. Regarding how a vector is identified as such in the context of the Physics/Vectors package, see Identify and type, PhysicsVectors.
The %Component is the inert form of Component, that is: it represents the same mathematical operation while holding the operation unperformed. To activate the operation use value.
When Component returns unevaluated, the display on the screen shows the vectorial expression between parentheses, and indexed (as usual when working by hand). This is done using a `print/Component` procedure.
Examples
An explicit algebraic vector in cartesian coordinates
The first and third components
The "nth" component returns unevaluated
Substituting n by something concrete, the component is obtained
Here A_ is an abstract non-projected vector; by default, in the framework of the Physics[Vectors] package, symbols ending with "_" represent non-projected vectors (to change this postfix see Setup:
The second component
When is replaced by a projected vector, the selection of the component is performed
It is also possible to work all abstract; this is the "nth" component of a non-projected vector
Component admits as argument a generic algebraic vectorial expression, for instance
Note however that when the expression passed to Component is not a vector, the computation is interrupted with an error message
Error, (in Physics:-Vectors:-Component) first argument is not a vector
See Also
Physics, Physics conventions, Physics examples, Physics/Vectors, Vectors,operations, Vectors/Identify
Download Help Document