Student[VectorCalculus][BasisFormat] - query or set Vector display style
|
Calling Sequence
|
|
BasisFormat(fmt)
|
|
Parameters
|
|
fmt
|
-
|
(optional) truefalse; specify display style
|
|
|
|
|
Description
|
|
•
|
By default, free Vectors, rooted Vectors and vector fields created by commands in the Student[VectorCalculus] package are displayed using basis format, that is, as a sum of scalar multiples of basis vectors. Basis vectors are displayed by using the letter "e" subscripted by a coordinate name. If the Vector displayed is a vector field, the basis vectors display with an overbar.
|
•
|
The BasisFormat(fmt) calling sequence determines whether basis format style is used. If fmt is true, free Vectors, rooted Vectors and vector fields are displayed using basis format. If fmt is false, free Vectors, rooted Vectors and vector fields are displayed using standard Vector notation.
|
•
|
The position Vectors, being Vectors that are always in cartesian coordinates rooted at the origin, are always displayed in standard Vector notation. The BasisFormat(fmt) calling sequence has no effect on the position Vector.
|
|
Note: In standard Vector notation, there is no visual distinction between vector fields and the other Vectors.
|
•
|
The BasisFormat command returns the basis format setting when the command was invoked, not the new setting.
|
|
|
Examples
|
|
>
|
|
The default notation is basis format for free Vectors, rooted Vectors and vector fields.
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
To use standard Vector notation, set BasisFormat to false. This will not affect position Vectors.
>
|
|
| (7) |
>
|
|
| (8) |
>
|
|
| (9) |
>
|
|
| (10) |
>
|
|
| (11) |
|
|
Download Help Document
Was this information helpful?