>
|
|
Example 1.
First create a manifold and define a metric tensor .
>
|
|
M >
|
|
| (2.1) |
Use to make a tensor density of weight 1.
M >
|
|
Display the density type of rho1.
M >
|
|
Example 2.
For indefinite metrics, the optional argument detmetric = -1 can be used to ensure that the metric density is real.
>
|
|
| (2.4) |
M >
|
|
M >
|
|
Example 3.
First create a rank 3 vector bundle over a two-dimensional manifold and define a metric tensor on the fibers of .
M >
|
|
E >
|
|
| (2.8) |
Use to make a tensor density of weight -1.
E >
|
|
Display the density type of rho3.
E >
|
|