GetComponents - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Differential Equations : Lie Symmetry Method : Commands for PDEs (and ODEs) : LieAlgebrasOfVectorFields : VectorField : LieAlgebrasOfVectorFields/VectorField/GetComponents

GetComponents

get components of a VectorField or OneForm object

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

GetComponents( obj)

GetComponents( obj, output = opt)

Parameters

obj

-

a VectorField or a OneForm object

opt

-

a string : either "expression" or "table"

Description

• 

The GetComponents method returns a list of components of a VectorField or OneForm object.

• 

The components can also be returned as a table, by specifying output = "table". See example below.

• 

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:

 

XVectorFieldcomponents=ξ,η,space=x,y

Xξx+ηy

(1)

 

GetComponentsX

ξ,η

(2)

 

ωOneFormcomponents=1,x2,y2,space=x,y,z

ωx2dy+y2dz+dx

(3)

 

TGetComponentsω,output=table

Ttabley=x2,x=1,z=y2

(4)

 

The entries of this table T are the components of the OneForm object, the indices are the corresponding space variables.

Tx,Ty,Tz

1,x2,y2

(5)

Compatibility

• 

The GetComponents 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