GetSpace - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

VectorCalculus

 GetSpace
 return the VectorSpace of a rooted Vector

 Calling Sequence GetSpace(v)

Parameters

 v - Vector; a rooted Vector

Description

 • The call GetSpace(v) returns a module which encodes the vector space to which the rooted Vector v belongs.  For details about the representation of vector spaces in the VectorCalculus package, see VectorSpace.
 • For details about the different Vectors of the VectorCalculus package, see VectorCalculus,Details.

Examples

 > $\mathrm{with}\left(\mathrm{VectorCalculus}\right):$
 > $f≔\mathrm{Vector}\left(\left[1,t\right],\mathrm{coords}={\mathrm{polar}}_{r,\mathrm{θ}}\right)$
 > $v≔\mathrm{simplify}\left(\mathrm{TangentVector}\left(f\right)\right)$
 ${v}{≔}\left[\begin{array}{c}{0}\\ {1}\end{array}\right]$ (1)
 > $\mathrm{vs}≔\mathrm{GetSpace}\left(v\right)$
 ${\mathrm{vs}}{≔}{\mathbf{module}}\left({}\right)\phantom{\rule[-0.0ex]{0.5em}{0.0ex}}{\mathbf{local}}\phantom{\rule[-0.0ex]{0.5em}{0.0ex}}{\mathrm{_origin}}{,}{\mathrm{_coords}}{,}{\mathrm{_coords_dim}}{;}\phantom{\rule[-0.0ex]{0.5em}{0.0ex}}{\mathbf{export}}\phantom{\rule[-0.0ex]{0.5em}{0.0ex}}{\mathrm{GetCoordinates}}{,}{\mathrm{GetRootPoint}}{,}{\mathrm{Vector}}{,}{\mathrm{eval}}{;}\phantom{\rule[-0.0ex]{0.5em}{0.0ex}}{}\phantom{\rule[-0.0ex]{0.5em}{0.0ex}}{\mathbf{end module}}$ (2)
 > $\mathrm{vs}:-\mathrm{GetCoordinates}\left(\right)$
 ${{\mathrm{polar}}}_{{r}{,}{\mathrm{\theta }}}$ (3)
 > $\mathrm{vs}:-\mathrm{GetRootPoint}\left(\right)$