Enum diffgeom::tensors::IndexType
[−]
[src]
pub enum IndexType { Covariant, Contravariant, }
This enum serves to represent the type of a tensor. A tensor can have any number of indices, and each one can be either covariant (a lower index), or contravariant (an upper index). For example, a vector is a tensor with only one contravariant index.
Variants
Covariant | |
Contravariant |