The matrix of cofactors of a Matrix3: its rows are the cross products of the other two rows. Dividing its transpose by the determinant gives the inverse.
m := Matrix3.{ 2, 0, 0, 0, 3, 0, 0, 0, 4 };
assert(adjoint_transpose(m) == Matrix3.{ 12, 0, 0, 0, 8, 0, 0, 0, 6 });adjoint_transpose :: (m: Matrix3) -> Matrix3
The transpose of the adjugate: its rows are the cross products of the other two rows.
Parameters
- m: Matrix3
- the matrix.