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

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θi⋅dxi 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

> 

with⁡LieAlgebrasOfVectorFields:

 

First calling sequence:

> 

ω≔OneForm⁡components=x2,x⁢y,space=x,y

ω≔x2⁢dx+x⁢y⁢dy

(1)

 

Second calling sequence:

> 

ω≔OneForm⁡x2⁢dx+x⁢y⁢dy

ω≔x2⁢dx+x⁢y⁢dy

(2)

 

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

> 

ω≔OneForm⁡x2,x,x⁢y,y

ω≔x2⁢dx+x⁢y⁢dy

(3)

 

 

Fourth calling sequence:

> 

ζ≔OneForm⁡0,space=x,y

ζ≔0

(4)

 

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

> 

φ≔OneForm⁡dx,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