>
|

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