weldx.util.matrix_is_close

weldx.util.matrix_is_close(mat_a, mat_b, abs_tol=1e-09)

Check if a matrix is close or equal to another matrix.

Parameters
  • mat_a – First matrix

  • mat_b – Second matrix

  • abs_tol – Absolute tolerance (Default value = 1e-9)

Returns

True or False

Return type

bool