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

Whether the units of a matrix describe a linear map, M_ij = a_i / b_j (Hart, section 3.1, see above): then M_ij M_00 = a_i a_0 / (b_j b_0) = M_i0 M_0j for all i and j, and conversely, a_i = M_i0 and b_j = M_00 / M_0j satisfy M_ij = a_i / b_j if M_ij M_00 = M_i0 M_0j. More...

#include <wuzp/core/Units.hpp>

Static Public Attributes

static constexpr bool value

Detailed Description

template<typename UnitsT_>
struct wuzp::UnitsDescribeLinearMap< UnitsT_ >

Whether the units of a matrix describe a linear map, M_ij = a_i / b_j (Hart, section 3.1, see above): then M_ij M_00 = a_i a_0 / (b_j b_0) = M_i0 M_0j for all i and j, and conversely, a_i = M_i0 and b_j = M_00 / M_0j satisfy M_ij = a_i / b_j if M_ij M_00 = M_i0 M_0j.

Only for these matrices, every summand of the elements of a matrix product has the same unit, e.g. of M M^-1, and every term of the determinant.

Definition at line 48 of file Units.hpp.

Member Data Documentation

◆ value

template<typename UnitsT_>
bool wuzp::UnitsDescribeLinearMap< UnitsT_ >::value
staticconstexpr
Initial value:
=
internal::UnitsDescribeLinearMapImpl<UnitsT_,
std::make_index_sequence<std::size_t{Rows<UnitsT_>::value * Cols<UnitsT_>::value}>>::value
static constexpr bool value
Definition Units.hpp:49

Definition at line 49 of file Units.hpp.


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