Table 8 List of functions implemented for the Matrix<M,N> class.
From: A new advance on dimensional-aware scalar, vector and matrix operations in C++
Operation | Operator | Description |
|---|---|---|
\({\mathcal {A}} + {\mathcal {B}}\) | a + b | Sum |
\({\mathcal {A}} - {\mathcal {B}}\) | a - b | Subtraction |
\({\mathcal {A}} \; {\mathcal {B}}\) | a * b | Multiplication |
\({\mathcal {A}} \; c\) | a * c | Multiplication with a scalar |
\(c \; {\mathcal {A}}\) | c * a | Multiplication with a scalar |
\({\mathcal {A}} \; {{\textbf {v}}}\) | a * v | Multiplication with a vector |
\({\mathcal {A}} / c\) | a / c | Division by a scalar |