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

Online Help

All Products    Maple    MapleSim


AreSameSpace

check if a sequence of VectorField and/or OneForm objects live on the same space.

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

AreSameSpace( obj1, obj2, ... )

Parameters

obj1, obj2, ...

-

a sequence of VectorField or OneForm objects

Description

• 

The AreSameSpace command returns true if all objects live on the same space, false otherwise.

• 

The obj1, obj2... can be a mixture of VectorField or OneForm and other objects.

• 

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

withLieAlgebrasOfVectorFields:

The vector fields X,Y live on the same space (x,y).

XVectorFieldcomponents=x,y,space=x,y

Xxⅆⅆx+yⅆⅆy

(1)

 

YVectorFieldDx,space=x,y

Yⅆⅆx

(2)

 

AreSameSpaceX,Y

true

(3)

Although the following vector field looks identical to Y, they live on different spaces.

Y1VectorFieldDx,space=x

Y1ⅆⅆx

(4)

 

AreSameSpaceY,Y1

false

(5)

 

ωOneFormxdx+ydy,space=x,y

ωxdx+ydy

(6)

 

This method can deal with multiple objects, mixing with VectorField and OneForm objects.

AreSameSpaceX,Y,ω

true

(7)

Compatibility

• 

The AreSameSpace command was introduced in Maple 2020.

• 

For more information on Maple 2020 changes, see Updates in Maple 2020.

See Also

VectorField (Object overview)

OneForm (Object overview)

LieAlgebrasOfVectorFields[VectorField]

LieAlgebrasOfVectorFields[OneForm]

GetSpace