|
wuzp
Wrong Unit? Zero Points! Compile-time checks for units, coordinate systems and points vs. vectors.
|
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 |
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.
|
staticconstexpr |