ffsim.linalg.is_special_orthogonal

ffsim.linalg.is_special_orthogonal(mat, *, rtol=1e-05, atol=1e-08)[source]

Determine if a matrix is approximately special orthogonal.

Parameters:
  • mat (ndarray) – The matrix.

  • rtol (float) – Relative numerical tolerance.

  • atol (float) – Absolute numerical tolerance.

Return type:

bool | bool

Returns:

Whether the matrix is special orthogonal within the given tolerance.