InverseDouble#

inline Matrix33 InverseDouble(const Matrix33 &a, bool &success)#

Computes the inverse of a 3x3 matrix using double precision.

Uses cofactor method with double precision arithmetic for higher accuracy

Parameters:
  • a[in] Matrix to invert

  • success[out] Set to true if inversion succeeded, false if matrix is singular

Returns:

Inverse matrix if successful, zero matrix if failed