DifferentialGeometry - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : DifferentialGeometry : DifferentialGeometry/ChangeFrame

DifferentialGeometry

  

ChangeFrame

  

change the current or active frame

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

ChangeFrame(M)

Parameters

M

-

a Maple name or string, the name given to a previously initialized frame/coordinate system

Description

• 

This command simply changes the current frame to M.

• 

The procedure returns the name of the previously active frame.

• 

This command is part of the DifferentialGeometry package, and so can be used in the form ChangeFrame(...) only after executing the command with(DifferentialGeometry).  It can always be used in the long form DifferentialGeometry:-ChangeFrame.

Examples

withDifferentialGeometry:

Create a few manifolds:

DGsetupx,y,M:DGsetupu,v,N:DGsetupx,y,z,P:

 

Example 1.

Change to the frame M, check the name of the current frame and obtain the default basis for the tangent space of the current frame.

ChangeFrameM

P

(1)

Tools:-DGinfoCurrentFrame

M

(2)

Tools:-DGinfoFrameBaseVectors

D_x,D_y

(3)

 

Example 2.

Change to the frame N, check the name of the current frame and obtain the default basis for the tangent space of the current frame.

ChangeFrameN

M

(4)

Tools:-DGinfoCurrentFrame

N

(5)

Tools:-DGinfoFrameBaseVectors

D_u,D_v

(6)

 

Example 3.

Since the frame M was used more recently than the frame P, the vectors D_x and D_y are vectors on M while the vector D_z is a vector on P.

Tools:-DGinfoD_x,ObjectFrame,Tools:-DGinfoD_y,ObjectFrame,Tools:-DGinfoD_z,ObjectFrame

M,M,P

(7)

ChangeFrameP

N

(8)

The vectors D_x, D_y and D_z are now all defined on P.

Tools:-DGinfoD_x,ObjectFrame,Tools:-DGinfoD_y,ObjectFrame,Tools:-DGinfoD_z,ObjectFrame

P,P,P

(9)
P > 

See Also

DifferentialGeometry

Tools

DGinfo

DGsetup

RemoveFrame

 


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