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

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

> 

with⁡LieAlgebrasOfVectorFields:

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

> 

X≔VectorField⁡components=x,y,space=x,y

X≔x⁢ⅆⅆx+y⁢ⅆⅆy

(1)

 

> 

Y≔VectorField⁡Dx,space=x,y

Y≔ⅆⅆx

(2)

 

> 

AreSameSpace⁡X,Y

true

(3)

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

> 

Y1≔VectorField⁡Dx,space=x

Y1≔ⅆⅆx

(4)

 

> 

AreSameSpace⁡Y,Y1

false

(5)

 

> 

ω≔OneForm⁡x⁢dx+y⁢dy,space=x,y

ω≔x⁢dx+y⁢dy

(6)

 

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

> 

AreSameSpace⁡X,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