Physlib.Relativity.Tensors.OfInt
Basis for tensors in a tensor species
4 declarations
Tensor with integer components
A tensor with integer components with respect to the basis. Given a natural number and an index configuration , it is defined as a function mapping the component indices associated with to the integers .
Tensor from integer components
Given a tensor with integer components , where is a function mapping the set of component indices to , this function constructs the corresponding element in the tensor space . It does so by casting each integer component to the underlying field and using these as the coordinates for the basis of the tensor space.
The -th basis coordinate of is
Let be a natural number and be an index configuration. Let be a function mapping the component indices to the integers (an element of ). Let be the tensor in the space obtained by casting these integer components to the underlying field. Then, for any basis index , the -th coordinate of with respect to the basis is equal to the integer cast into the field.
The -th basis vector is the tensor with components
Let be a natural number and be an index configuration. For any component index , the -th element of the basis for the tensor space is equal to the tensor constructed from the integer-valued function defined by if and otherwise.
