unilab.utils.rotation.np_quat_apply_inverse_batched

unilab.utils.rotation.np_quat_apply_inverse_batched(q, v)[source]

Rotate broadcast-compatible vector arrays by inverse quaternions.

q has shape (…, 4), v has shape (…, 3), and leading dimensions are broadcast. Batched counterpart of np_quat_apply_inverse.

Parameters:
Return type:

ndarray