Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def _internal_repr(self, A2B):
p = A2B[:3, 3]
R = A2B[:3, :3]
e = euler_xyz_from_matrix(R)
return np.hstack((p, e))