GetSpace - Maple Help

GetSpace

get space coordinates of a VectorField or OneForm object

 Calling Sequence GetSpace( obj )

Parameters

 obj - a VectorField or a OneForm object

Description

 • The GetSpace method returns a list of space coordinate variables for a VectorField or OneForm object.
 • This method is associated with the VectorField and OneForm objects. For more detail, see Overview of the VectorField object, Overview of the OneForm object.

Examples

 > $\mathrm{with}\left(\mathrm{LieAlgebrasOfVectorFields}\right):$

 > $X≔\mathrm{VectorField}\left(y{\mathrm{D}}_{x}-x{\mathrm{D}}_{y},\mathrm{space}=\left[x,y\right]\right)$
 ${X}{≔}{y}{}\left(\frac{{ⅆ}}{{ⅆ}{x}}\right){-}{x}{}\left(\frac{{ⅆ}}{{ⅆ}{y}}\right)$ (1)

 > $R≔\mathrm{VectorField}\left(y{\mathrm{D}}_{x}-x{\mathrm{D}}_{y},\mathrm{space}=\left[x,y,z\right]\right)$
 ${R}{≔}{y}{}\left(\frac{{ⅆ}}{{ⅆ}{x}}\right){-}{x}{}\left(\frac{{ⅆ}}{{ⅆ}{y}}\right)$ (2)

The method returns the space where X, R live. Although these two vector fields have identical appearance, they live on difference spaces: (x,y) versus (x,y,z)

 > $\mathrm{GetSpace}\left(X\right)$
 $\left[{x}{,}{y}\right]$ (3)
 > $\mathrm{GetSpace}\left(R\right)$
 $\left[{x}{,}{y}{,}{z}\right]$ (4)

 > $\mathrm{ω}≔\mathrm{OneForm}\left(\mathrm{components}=\left[1,{x}^{2},{y}^{2}\right],\mathrm{space}=\left[x,y,z\right]\right)$
 ${\mathrm{\omega }}{≔}{{x}}^{{2}}{}{\mathrm{dy}}{+}{{y}}^{{2}}{}{\mathrm{dz}}{+}{\mathrm{dx}}$ (5)

 > $\mathrm{GetSpace}\left(\mathrm{ω}\right)$
 $\left[{x}{,}{y}{,}{z}\right]$ (6)

Compatibility

 • The GetSpace command was introduced in Maple 2020.