 GetNames - Maple Help

VectorCalculus

 GetNames
 return the coordinate variable names of a Vector Calling Sequence GetNames(v) Parameters

 v - Vector; where v is one of free vector, VectorField, PositionVector, or RootedVector Description

 • The GetNames(v) calling sequence returns the coordinate variable names of the Vector v as a list of strings. Examples

 > $\mathrm{with}\left(\mathrm{VectorCalculus}\right):$
 > $\mathrm{v1}≔\mathrm{Vector}\left(⟨\mathrm{sin}\left(t\right),\mathrm{cos}\left(t\right),{t}^{2}⟩\right)$ > $\mathrm{GetNames}\left(\mathrm{v1}\right)$
 $\left[{"x"}{,}{"y"}{,}{"z"}\right]$ (1)
 > $\mathrm{v2}≔\mathrm{VectorField}\left(⟨x,y⟩,{\mathrm{cartesian}}_{x,y}\right)$ > $\mathrm{GetNames}\left(\mathrm{v2}\right)$
 $\left[{"x"}{,}{"y"}\right]$ (2)
 > $\mathrm{GetNames}\left(\mathrm{PositionVector}\left(\left[x,y\right]\right)\right)$
 $\left[{"x"}{,}{"y"}\right]$ (3)
 > $\mathrm{GetNames}\left(\mathrm{RootedVector}\left(\mathrm{root}=\left[u,v\right],⟨x,y⟩\right)\right)$
 $\left[{"x"}{,}{"y"}\right]$ (4) Compatibility

 • The VectorCalculus[GetNames] command was updated in Maple 2017.