GetCoordinates - Maple Help

# Online Help

###### All Products    Maple    MapleSim

VectorCalculus

 GetCoordinates
 return the coordinate system of a Vector

 Calling Sequence GetCoordinates(v)

Parameters

 v - (optional) Vector

Description

 • The GetCoordinates(v) command returns the coordinate system associated with the Vector v.  If v is not specified, the default coordinate system is returned.

Examples

 > $\mathrm{with}\left(\mathrm{VectorCalculus}\right):$
 > $\mathrm{GetCoordinates}\left(\right)$
 ${\mathrm{cartesian}}$ (1)
 > $v≔\mathrm{VectorField}\left(⟨r,0,0⟩,'\mathrm{spherical}'\left[r,\mathrm{\phi },\mathrm{\theta }\right]\right)$
 ${v}{≔}\left({r}\right){\stackrel{{_}}{{e}}}_{{r}}{+}\left({0}\right){\stackrel{{_}}{{e}}}_{{\mathrm{φ}}}{+}\left({0}\right){\stackrel{{_}}{{e}}}_{{\mathrm{θ}}}$ (2)
 > $\mathrm{GetCoordinates}\left(v\right)$
 ${{\mathrm{spherical}}}_{{r}{,}{\mathrm{\phi }}{,}{\mathrm{\theta }}}$ (3)
 > $\mathrm{SetCoordinates}\left('\mathrm{polar}'\right)$
 ${\mathrm{polar}}$ (4)
 > $\mathrm{GetCoordinates}\left(⟨a,b⟩\right)$
 ${\mathrm{polar}}$ (5)

 See Also