invert33

Invert a 3x3 matrix.

Parameters

m

The 3x3 matrix to invert

res

The inverted 3x3 matrix.

Throws

if the determinant of the input matrix is zero.