Class Minkowski

class Minkowski

Computes the Minkowski inner and outer products of two four-vectors.

Public Static Functions

template<typename T, typename U>
static inline PromoteTraits<T, U>::promote_type inner(const Vector<4, T> &A, const Vector<4, U> &B)

Return the Minkowski inner product of two four-vectors.

template<typename T, typename U>
static inline Matrix<4, 4, typename PromoteTraits<T, U>::promote_type> outer(const Vector<4, T> &A, const Vector<4, U> &B)

Return the Minkowski outer product of two four-vectors.