VectorCalculus - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Vector Calculus : VectorCalculus/SetCoordinates

VectorCalculus

  

SetCoordinates

  

set the coordinate attribute on a free Vector

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

SetCoordinates(v, c)

Parameters

v

-

(optional) free or position Vector

c

-

name or name[name, name, ...]; specify the coordinate system, possibly indexed by the coordinate names

Description

• 

The SetCoordinates(v, c) command sets the coordinate attribute on the Vector v.  If the parameter v is not specified, it sets the default coordinates to c.

• 

If c is given only as a name, default coordinate names are used for the display (only) of Vectors.  In order to create a vector field using the coordinate system set by a call to SetCoordinates, you must provide names for the coordinates, in the index to the coordinate specification c.

• 

The coordinate systems recognized by the VectorCalculus package are described in Coordinates.  For information on how to add new coordinate systems, see AddCoordinates.

Examples

withVectorCalculus:

va,b

vaex+bey

(1)

SetCoordinatesv,'polar'

aer+beθ

(2)

GetCoordinatesv

polar

(3)

SetCoordinates'spherical'r,φ,θ

sphericalr,φ,θ

(4)

vVectorFieldr,0,0

vre_r

(5)

GetCoordinatesv

sphericalr,φ,θ

(6)

See Also

VectorCalculus

VectorCalculus[AddCoordinates]

VectorCalculus[Coordinates]

VectorCalculus[GetCoordinates]

VectorCalculus[Vector]

VectorCalculus[VectorField]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam