|
wuzp
Wrong Unit? Zero Points! Compile-time checks for units, coordinate systems and points vs. vectors.
|
The indices of the transpose: the transpose of a tensor of rank 2 swaps its indices, e.g. (T^T)_j^i = T^i_j, and the transpose of a vector, a column, is a covector, a row, and vice versa. More...
#include <wuzp/core/Indices.hpp>
Public Types | |
| using | type = Indices<> |
The indices of the transpose: the transpose of a tensor of rank 2 swaps its indices, e.g. (T^T)_j^i = T^i_j, and the transpose of a vector, a column, is a covector, a row, and vice versa.
The latter lowers or raises the index with the Euclidean metric, which keeps the components (Carroll, eq. 1.62 and the text after it, https://arxiv.org/abs/gr-qc/9712019), like dotProduct and norm, so the transpose of a vector or a covector requires a Euclidean coordinate system (see Metric and internal::RequireEuclidean).
Definition at line 197 of file Indices.hpp.
| using wuzp::Transpose< Indices<> >::type = Indices<> |
Definition at line 198 of file Indices.hpp.