|
STIR 6.5.0
|
Lightweight 3x3 matrix and 3D vector helpers used during PETSIRD geometry analysis. More...
Typedefs | |
| using | Mat3 = std::array<std::array<float, 3>, 3> |
| using | Vec3 = std::array<float, 3> |
Functions | |
| Mat3 | transpose (const Mat3 &mat) |
| Transpose a 3x3 matrix. | |
| Mat3 | subtract (const Mat3 &A, const Mat3 &B) |
| Subtract two 3x3 matrices (A - B). | |
| Vec3 | getAxisFromSkew (const Mat3 &S) |
| Extract rotation axis from the skew-symmetric matrix S = R - R^T. | |
Lightweight 3x3 matrix and 3D vector helpers used during PETSIRD geometry analysis.
Provides utilities to:
|
inline |
Transpose a 3x3 matrix.
| mat | Input matrix. |
References transpose().
Referenced by transpose().
|
inline |
Subtract two 3x3 matrices (A - B).
| A | Left-hand matrix. |
| B | Right-hand matrix. |
References subtract().
Referenced by subtract().
|
inline |
Extract rotation axis from the skew-symmetric matrix S = R - R^T.
| S | Skew-symmetric matrix. |
References getAxisFromSkew().
Referenced by getAxisFromSkew().