Overview - Maple Help

Online Help

All Products    Maple    MapleSim


Overview of the OneForm Object

 

Description

Construction of a OneForm object

List of OneForm object methods

Examples

Description

• 

The OneForm object is designed and created to represent a differential 1-form as a mathematical object. It can be queried for basic properties of a 1-form, and can be used in computing 1-form arithmetic and Lie derivatives. A OneForm object can also act as an operator.

• 

Some existing Maple builtins have been overloaded so that they work for a OneForm object.

• 

All methods of the OneForm object become available only once a valid OneForm object is constructed successfully. See LieAlgebrasOfVectorFields[OneForm] command for more detail about constructing a OneForm object.

• 

The OneForm object is one of the Maple objects exported by the LieAlgebrasOfVectorFields package.

• 

For a space with coordinates (x1,x2,,xn) a 1-form ω is an expression of the form ω=i=0nθix1,x2,,xndxi. The θi are referred to as components, and x1,x2,,xn  are referred as space. Therefore, a OneForm object is mathematically represented by two data attributes: "components" and "space". The data attributes of a OneForm object can be accessed via the GetComponents and GetSpace methods.

• 

After a OneForm object  omega is successfully constructed, each method in the OneForm object can be accessed by either the short form method(omega, arguments) or the long form omega:-method(omega, arguments).

• 

The DifferentialGeometry package provides a more thorough implementation of differential forms as geometric objects.

Construction of a OneForm object

• 

There are two commands that construct a OneForm object:

OneForm

Construct a differential one-form from given components.

Differential

Command for finding the differential df of function f, as a one-form.

List of OneForm object methods

• 

The following is a list of available methods for a OneForm object.

AreSameSpace

DChange

GetComponents

GetSpace

LieDerivative

 

 

 

• 

A OneForm object can also act as an operator on a VectorField object living on the same space. See OneForm Object as Operator for more detail.

• 

The following arithmetic operators (=, +, -, *, ?[]) are overloaded for use on a OneForm object. See OneForm Object Operator Methods  for more detail.

• 

The following Maple builtin functions are overloaded so that they work for a OneForm object: type, expand, has, hastype, indets, map, normal, simplify, subs.  See OneForm Object Overloaded Builtins for more detail.

Examples

withLieAlgebrasOfVectorFields:

 

List of methods available for a OneForm object is available via the static exports of the object:

exportsOneForm,static

GetComponents,GetSpace,AreSameSpace,dchange,DChange,`=`,`+`,`-`,`*`,?[],map,subs,normal,expand,simplify,indets,has,hastype,type,ModuleType,ModulePrint,ModuleCopy

(1)

 

Construction by direct specification...

ωOneFormxydxy2dy

ωxydxy2dy

(2)

 

Construction with Differential...

dfDifferentialx2+y2

df2xdx+2ydy

(3)

A OneForm is of type OneForm...

typeω,OneForm

true

(4)

Extract data that make up a OneForm...

GetSpaceω

x,y

(5)

GetComponentsω

xy,y2

(6)

 

Overloaded Maple operators...

Component extraction...

ωx

xy

(7)

 

Scalar multiplication and 1-form addition:

2ω+ydf

4xydx

(8)

A OneForm object acts as an operator (via contraction) on a VectorField object

XVectorFieldyDx+xDy

Xyx+xy

(9)

ωX

2xy2

(10)

Overloaded Maple functions work as expected...

hasω,x

true

(11)

hastypeω,trig

false

(12)

See Also

VectorField (commands)

LieAlgebrasOfVectorFields[OneForm]

LieAlgebrasOfVectorFields[Differential]

Operators for OneForm

Maple builtins for OneForm

with

exports