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

Online Help

All Products    Maple    MapleSim


LieAlgebrasOfVectorFields

  

VectorField

  

constructing a VectorField object

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

VectorField( components = compList, space = varList)

VectorField( DExpr, space = varList)

VectorField( listOfPairs, space = varList )

VectorField( 0, space = varList)

Parameters

compList

-

a list of scalar expressions [xi1, xi2,...,xin] the components of the vector field.

varList

-

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

DExpr

-

expression of the form xi1*D[x1] + xi2*D[x2] + ... + xin*D[xn]

listOfPairs

-

a list of ordered pairs [[xi1,x1], [xi2,x2], ..., [xin,xn]] of component values and corresponding space coordinate

Description

• 

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

• 

A vector field  is an expression of the form  living on a space with coordinates . The  are referred to as components, and   are referred to as (coordinates of) space.   

• 

The VectorField command first validates the user input arguments and then constructs a VectorField object. A valid VectorField object consists of two data attributes: components  and space variables .

• 

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 vector field.  The space = varList argument is optional; if present, its specification of the space overrides 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 vector field 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 VectorField package.

• 

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

Examples

 

First calling sequence:

(1)

 

Second calling sequence:

(2)

 

Third calling sequence, vector field specified by ordered pairs:

(3)

 

 

Fourth calling sequence:

(4)

 

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

(5)

 

 

Although the coordinates y,z,t are not visible in the printed form of this vector field, they are present in the VectorField object:

(6)

See Also

VectorField (commands)

VectorField (Object overview)

GetComponents

GetSpace

 


Download Help Document