constructor - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


LieAlgebrasOfVectorFields

  

OneForm

  

constructing a OneForm object

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

OneForm( components = compList, space = varList)

OneForm( dExpr, space = varList)

OneForm( listOfPairs, space = varList )

OneForm( 0, space = varList)

Parameters

compList

-

a list of scalar expressions [theta1, theta2,...,thetan] the components of the 1-form.

varList

-

a list of names [x1, x2, ... ,xn], the coordinates of space

DExpr

-

expression of the form theta1*d[x1] + theta2*d[x2] + ... + thetan*d[xn]

listOfPairs

-

a list of ordered pairs [[theta1,x1], [theta2,x2], ..., [thetan,xn]] of component values and corresponding space coordinate

Description

• 

The command OneForm(...) is a constructor method for creating a OneForm object. Once a valid OneForm object has been created, it has access to various methods which allow it to be manipulated and its contents queried. see Overview of OneForm object for more detail.

• 

A 1-form ω is an expression of the form ω=i=0nθidxi living on a space with coordinates x1,x2,,xn. The θi are referred to as components, and x1,x2,,xn are referred to as (coordinates of) space.

• 

The OneForm command first validates the user input arguments and then constructs a 1-form object named OneForm. A valid OneForm object consists of two data attributes: components θ1,θ2,,θn and space variables x1,x2,,xn.

• 

In the first calling sequence, both arguments components = compList, space=varList are required. These two lists must be of the same length.

• 

The second calling sequence is a textual representation of the usual appearance of a 1-form.  The space = varList argument is optional; if present, its specification of the space  [x1, x2,..., xn] implied by dExpr.

• 

In the third calling sequence, the space =varList argument is optional; if present, its specification of the space overrides the space [x1, x2,..., xn] implied by listOfPairs.

• 

The fourth calling sequence is a special constructor for the zero 1-form on the specified space; the space = varList argument is required.

• 

This command is part of the VectorField package. For more detail, see Overview of the LieAlgebrasOfVectorFields package.

• 

This command can be used in the form OneForm(...) only after executing the command with(LieAlgebrasOfVectorFields), but can always be used by executing LieAlgebrasOfVectorFields:-OneForm(...).

Examples

withLieAlgebrasOfVectorFields:

 

First calling sequence:

ωOneFormcomponents=x2,xy,space=x,y

ωx2dx+xydy

(1)

 

Second calling sequence:

ωOneFormx2dx+xydy

ωx2dx+xydy

(2)

 

Third calling sequence, 1-form specified by ordered pairs:

ωOneFormx2,x,xy,y

ωx2dx+xydy

(3)

 

 

Fourth calling sequence:

ζOneForm0,space=x,y

ζ0

(4)

 

The second calling sequence is especially useful as a sparse form entry, where only a few components are nonzero:

φOneFormdx,space=x,y,z

φdx

(5)

 

 

Although the coordinates y,z are not visible in the printed form of this 1-form, they are present in the OneForm object:

GetComponentsφ

1,0,0

(6)

GetSpaceφ

x,y,z

(7)

See Also

VectorField (commands)

OneForm (Object overview)

GetComponents

GetSpace