jaxtransform3d.transformations.dual_quaternion_squared_norm#

jaxtransform3d.transformations.dual_quaternion_squared_norm(dual_quat: Array | ndarray | bool_ | number | bool | int | float | complex) Array[source]#

Compute squared norm of dual quaternion.

Parameters:
dual_quatarray-like, shape (…, 8)

Dual quaternion to represent transform: (pw, px, py, pz, qw, qx, qy, qz)

Returns:
squared_normarray, shape (…, 2)

Squared norm of dual quaternion, which is a dual number with a real and a dual part.