Transpose the matrix in-place.
Transposes the matrix by swapping elements across the main diagonal. For a matrix M, the transpose is defined as: M[i][j] = M[j][i]
The transposition is performed as follows: | a b c | | a d g | | d e f | -> | b e h | | g h i | | c f i |
- Returns
- Reference to this matrix after transposition.
- Note
- For orthogonal matrices (like pure rotation matrices), the transpose is equal to the inverse.
static consteval Angle FromDegrees(double degrees)
Creates angle from degrees at compile time.
Definition angle.hpp:204
static constexpr Matrix33 CreateRotationX(const Angle &angle)
Create a new X-axis rotation matrix.
Definition mat33.hpp:321
constexpr Matrix33 & Transpose()
Transpose the matrix in-place.
Definition mat33.hpp:233
constexpr Matrix33()
Default constructor initializing to a zero matrix.
Definition mat33.hpp:76