tensor[raise] - raise a covariant index
tensor[lower] - lower a contravariant index
|
Calling Sequence
|
|
raise(contravariant_metric_tensor, A, i1, i2, ... )
lower(covariant_metric_tensor, A, i1, i2, ... )
|
|
Parameters
|
|
contravariant_metric_tensor
|
-
|
metric tensors used to raise the indices
|
covariant_metric_tensor
|
-
|
metric tensors used to lower the indices
|
A
|
-
|
tensor by which to raise/lower the indices
|
i1, ...
|
-
|
non-empty sequence of indices of A to raise/lower
|
|
|
|
|
Description
|
|
•
|
The function raise(con_met, A, 2, 3) computes the tensor A with indices 2 and 3 raised using the contravariant metric con_met.
|
•
|
The function lower(cov_met, A, 1, 4) computes the tensor A with indices 1 and 4 lowered using the covariant metric cov_met.
|
•
|
Each index in the call to raise must be a valid covariant index of A.
|
•
|
Each index in the call to lower must be a valid contravariant index of A.
|
•
|
There must be at least 1 index given and the number of indices cannot exceed the rank of A.
|
•
|
Simplification: These routines use the `tensor/prod/simp` routine for simplification purposes. The simplification routine is applied to each component of the result after it is computed. By default, `tensor/prod/simp` is initialized to the `tensor/simp` routine. It is recommended that the `tensor/prod/simp` routine be customized to suit the needs of the particular problem.
|
•
|
These functions are part of the tensor package, and so can be used in the form raise(..) / lower(..) only after performing the command with(tensor), or with(tensor, raise) / with(tensor, lower). These functions can always be accessed in the long form tensor[raise](..) / tensor[lower](..).
|
|
|
Examples
|
|
>
|
|
covariant Euclidean 3-space metric in spherical-polar coordinates:
>
|
|
| (1) |
contravariant Euclidean 3-space metric in spherical-polar coordinates:
>
|
|
| (2) |
create a mixed 2-tensor, raise one index, then lower the other
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
|
|
Download Help Document
Was this information helpful?