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
Physics[Vectors][Identify] - identify the vector character of an expression in the context of the Physics[Vectors] subpackage's conventions
Calling Sequence
Identify(A)
Parameters
A
-
any algebraic (vectorial or scalar) expression
Description
Identify returns a number between 0 and 7, related to the vector classification of its argument: 0 = scalar, 1 = cartesian-vector, 2 = cylindrical-vector, 3 = spherical-vector, 5 = non-projected vector, 6 = can be cartesian or cylindrical (projected over the z axis), 7 = can be cylindrical or spherical (projected over the direction). This command is used by the commands of the Physics[Vectors] subpackage before proceeding with the computations; it can be used to check how is the package interpreting an expression or as tool in the context of other programs using Physics[Vectors].
The %Identify is the inert form of Identify, that is: it represents the same mathematical operation while holding the operation unperformed. To activate the operation use value.
Note that the representation for a vector implemented in the Physics[Vectors] subpackage is not a matrix (list of components), but an algebraic expression, as either a first order polynomial in the unit vectors with no independent term, or a symbol with a predefined postfix: the underscore, (to change this default postfix see Physics/Setup). The classification of a projected vector in this context is made taking into account the following conventions:
()
=
cartesian unit vectors,
( )
cylindrical unit vectors,
spherical unit vectors
The classification of a non-projected vector or vector function depends entirely on its name, i.e., on whether it ends with _(a mimicry of the arrow over a letter), as in or
Concerning the coordinates, the conventions are:
cartesian coordinates,
cylindrical coordinates,
spherical coordinates
NOTE: these variables x, y, z, , and , as well as _i, _j, _k, , and , respectively used to represent the coordinates and the unit vectors, are automatically protected when the Physics[Vectors] subpackage is loaded.
Mathematical vector notation: When the Physics[Vectors] subpackage is loaded in the Standard Graphical User Interface, by entering Physics[Setup](mathematicalnotation = true), non-projected vectors and unit vectors are respectively displayed with an arrow and a hat on top and the differential operators (Nabla, Laplacian, etc.) with an upside down triangle as in textbooks. You can also set this notation from the Options Dialog: go to Tools > Options, select the Display tab, and set the Typesetting level to Extended.
Examples
The input for Identify is an algebraic (vectorial or scalar) expression. The output is a related number.
"A" is a scalar and "A_" is a non-projected Vector.
A cartesian Vector.
A cylindrical Vector.
A spherical Vector.
A cartesian or cylindrical Vector.
A cylindrical or spherical Vector.
The divergence of a Vector is a scalar.
The curl of a Vector is a Vector.
The Laplacian of a Vector is a Vector.
See Also
&x, +, ., ChangeBasis, Component, Curl, DirectionalDiff, Divergence, Gradient, Laplacian, Nabla, Norm, Physics, Physics conventions, Physics examples, Physics[Vectors], VectorDiff
Download Help Document