Student[VectorCalculus][SetCoordinates] - set the coordinate attribute on a Vector
|
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) calling sequence sets the coordinate attribute on the Vector v.
|
|
Important: The SetCoordinates command does not convert a Vector to a new coordinate system. It simply changes the coordinate system attribute. To convert a Vector to a new coordinate system, use the MapToBasis command.
|
•
|
The SetCoordinates(c) calling sequence sets the default coordinate system to c.
|
|
If c is given only as a name, default coordinate names are used for the display (only) of Vectors.
|
|
To be able to create a vector field using the default coordinate system, you must provide names for the coordinates in the index to the coordinate system specification c of the SetCoordinates call. See the Examples section.
|
•
|
The coordinate systems recognized by the Student[VectorCalculus] package are described in Coordinates.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
If you create a vector field and do not specify a coordinate system with coordinate names, default coordinate names for that system are generated.
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
>
|
|
| (8) |
>
|
|
| (9) |
|
|
Download Help Document
Was this information helpful?