SetCoordinates - 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


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 coords.  For information on how to add new coordinate systems, see AddCoordinates.

Examples

withVectorCalculus:

va,b

SetCoordinatesv,polar

GetCoordinatesv

polar

(1)

SetCoordinatessphericalr,φ,θ

sphericalr,φ,θ

(2)

vVectorFieldr,0,0

GetCoordinatesv

sphericalr,φ,θ

(3)

See Also

coords

VectorCalculus

VectorCalculus[AddCoordinates]

VectorCalculus[GetCoordinates]

VectorCalculus[Vector]

VectorCalculus[VectorField]