wuzp
Wrong Unit? Zero Points! Compile-time checks for units, coordinate systems and points vs. vectors.
Loading...
Searching...
No Matches
wuzp::Inverse< Indices<> > Struct Reference

The indices of the matrix inverse, which exists for tensors of rank 0 and 2: the indices (X, Y) become (not Y, not X), since (M^-1)^ij M_jk = delta^i_k contracts the second index of the inverse with the first index of M. More...

#include <wuzp/core/Indices.hpp>

Public Types

using type = Indices<>

Detailed Description

The indices of the matrix inverse, which exists for tensors of rank 0 and 2: the indices (X, Y) become (not Y, not X), since (M^-1)^ij M_jk = delta^i_k contracts the second index of the inverse with the first index of M.

E.g. the inverse of a linear map T^i_j is a linear map, and the inverse of a metric g_ij, or of a mass matrix M_ij, has two upper indices, g^ij (Carroll, eq. 1.56, https://arxiv.org/abs/gr-qc/9712019). A vector or a covector is not a square matrix, so it has no inverse.

Definition at line 216 of file Indices.hpp.

Member Typedef Documentation

◆ type

using wuzp::Inverse< Indices<> >::type = Indices<>

Definition at line 217 of file Indices.hpp.


The documentation for this struct was generated from the following file: