Tensor[MetricDensity] - use a metric tensor to create a scalar density of a given weight
Calling Sequences
MetricDensity(g, r)
Parameters
g - a metric tensor
r - a rational number
option - (optional) the keyword argument detmetric
|
Description
|
|
•
|
If g is a metric with components g_{ij}, then rho = (determinant(g_{ij}))^(r/2) is a scalar density of weight r.
|
•
|
The program MetricDensity(g, r) returns the scalar density rho.
|
•
|
It is assumed that the metric g has positive determinant. To calculate the proper metric density with respect to a metric with negative determinant, include the keyword argument detmetric = -1.
|
•
|
This command is part of the DifferentialGeometry:-Tensor package, and so can be used in the form MetricDensity(...) only after executing the commands with(DifferentialGeometry) and with(Tensor) in that order. It can always be used in the long form DifferentialGeometry:-Tensor:-MetricDensity.
|
|
|
Examples
|
|
>
|
|
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) |
|
|
Download Help Document
Was this information helpful?