|
wuzp
Wrong Unit? Zero Points! Compile-time checks for units, coordinate systems and points vs. vectors.
|
#include <tuple>#include <type_traits>#include "wuzp/core/concepts.hpp"#include "wuzp/core/helpers.hpp"#include "wuzp/core/traits.hpp"Go to the source code of this file.
Classes | |
| struct | wuzp::Up |
| An upper, or contravariant, index, e.g. of a vector v^i, whose components transform like the coordinates. More... | |
| struct | wuzp::Down |
| A lower, or covariant, index, e.g. of a covector w_i, whose components transform with the inverse of the coordinates. More... | |
| struct | wuzp::Indices< VariancesT_ > |
| The indices of a tensor, in their order, e.g. Indices<Up, Down> for a linear map T^i_j, Indices<Down, Down> for a bilinear form such as a mass matrix M_ij, Indices<Up> for a vector and Indices<> for a scalar. More... | |
| struct | wuzp::Sum< Indices< VariancesLhsT_... >, Indices< VariancesRhsT_... > > |
| struct | wuzp::Difference< Indices< VariancesLhsT_... >, Indices< VariancesRhsT_... > > |
| struct | wuzp::Product< Indices< VariancesLhsT_... >, Indices< VariancesRhsT_... > > |
| The indices of the product of two tensors, one of which has rank 0: those of the other one. More... | |
| struct | wuzp::Division< Indices< VariancesLhsT_... >, Indices< VariancesRhsT_... > > |
| The indices of the quotient of a tensor and a tensor of rank 0: those of the tensor. See Product for the reasons. More... | |
| struct | wuzp::InnerProduct< Indices< VariancesLhsT_... >, Indices< VariancesRhsT_... > > |
| The indices of the inner product, which contracts the last index of the left-hand side with the first index of the right-hand side: the remaining indices, in their order. More... | |
| struct | wuzp::OuterProduct< Indices< VariancesLhsT_... >, Indices< VariancesRhsT_... > > |
| The indices of the outer (tensor) product: those of the left-hand side, followed by those of the right-hand side, e.g. v^i w_j has the indices (Up, Down). More... | |
| struct | wuzp::CrossProduct< Indices< VariancesLhsT_... >, Indices< VariancesRhsT_... > > |
| The indices of the cross product of two vectors: those of a vector. More... | |
| struct | wuzp::Transpose< 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. More... | |
| struct | wuzp::Transpose< Indices< VarianceT_ > > |
| struct | wuzp::Transpose< Indices< Variance0T_, Variance1T_ > > |
| struct | wuzp::Inverse< Indices<> > |
| 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... | |
| struct | wuzp::Inverse< Indices< VarianceT_ > > |
| struct | wuzp::Inverse< Indices< Variance0T_, Variance1T_ > > |
| struct | wuzp::Determinant< Indices<> > |
| The indices of the determinant, a scalar. More... | |
| struct | wuzp::Determinant< Indices< VarianceT_ > > |
| struct | wuzp::Determinant< Indices< Variance0T_, Variance1T_ > > |
Namespaces | |
| namespace | wuzp |