DifferentialGeometry[RemoveFrame] - remove a frame from a Maple session
|
Calling Sequence
|
|
RemoveFrame(M)
|
|
Parameters
|
|
M
|
-
|
an unassigned Maple name or a string
|
|
|
|
|
Description
|
|
•
|
Remove a previously defined frame M from the current Maple session. All protected variables and frame and coframe labels associated with the frame M become unassigned and unprotected. The command returns the number of frames that remain available.
|
•
|
If the current frame is M and M is removed, then the current frame defaults to the first frame in an alphabetic listing of all remaining defined frames.
|
•
|
This command is part of the DifferentialGeometry package, and so can be used in the form RemoveFrame(...) only after executing the command with(DifferentialGeometry). It can always be used in the long form DifferentialGeometry:-RemoveFrame.
|
|
|
Examples
|
|
>
|
|
Example 1.
Create a pair of manifolds.
>
|
|
| (1) |
>
|
|
| (2) |
The command DGinfo can return a list of all defined manifolds, adapted frames, Lie algebras, etc. - everything created by DGsetup.
>
|
|
| (3) |
Note that u is protected and D_u is assigned.
>
|
|
| (4) |
>
|
|
_DG([["vector", N, []], [[[1], 1]]])
| |
Now remove the frame N.
>
|
|
| (5) |
The frame N no longer shows up in the list of defined frames.
>
|
|
| (6) |
The current frame is now M.
>
|
|
| (7) |
Also, u is no longer protected and D_u is unassigned.
>
|
|
| (8) |
>
|
|
M >
|
|
|
|
Download Help Document
Was this information helpful?