#include <CxxUtils/ArrayHelper.h>
#include <array>
Go to the source code of this file.
|
| MuonR4 |
| This header ties the generic definitions in this package.
|
|
|
constexpr double | MuonR4::sign (const double x) |
| Returns the sign of a number. More...
|
|
constexpr unsigned int | MuonR4::sumUp (unsigned k) |
| Calculates the sum of 1 + 2 +3 +4 +... More...
|
|
template<unsigned int n> |
constexpr unsigned int | MuonR4::vecIdxFromSymMat (unsigned int i, unsigned k) |
| If a n-dimensional Matrix is symmetric, it has n* (n+1) /2 parameters The following function returns the global index when filling the content of the matrix into a vector via for (i = 0; i < n; ++i) { for (k =i; k<n; ++k){ } }. More...
|
|
template<int n> |
constexpr std::array< unsigned, 2 > | MuonR4::symMatIdxFromVec (unsigned int k) |
| Translates back the global index into the two matrix access indices under the assumption that the matrix is symmetric. More...
|
|