>
|
|
Use DGsetup to define a three-dimensional manifold M with coordinates [x, y, z].
>
|
|
| |
| |
| |
Example 1.
Create linear combinations of vector fields and differential 1-forms using &plus and &mult.
>
|
|
>
|
|
| (5) |
>
|
|
| (6) |
Example 2.
Create differential 2-forms using &plus and &mult and &wedge.
>
|
|
| (7) |
>
|
|
| (8) |
>
|
|
| (9) |
>
|
|
| (10) |
Example 3.
Create various tensors using &plus, &mult and &tensor.
| (11) |
| (12) |
>
|
|
>
|
|
Example 4.
Create a multi-vector using &plus, &mult and &tensor.
>
|
|
| (16) |
Example 5.
Use the command AlgebraLibraryData to retrieve the structure equations for the quaternions.
>
|
|
| (17) |
Initialize.
>
|
|
Calculate some simple sums and products of quaternions.
>
|
|