pytransform3d.transformations.dq_prod_vector

pytransform3d.transformations.dq_prod_vector(dq, v)[source]

Apply transform represented by a dual quaternion to a vector.

Parameters
dqarray-like, shape (8,)

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

varray-like, shape (3,)

3d vector

Returns
warray, shape (3,)

3d vector

Examples using pytransform3d.transformations.dq_prod_vector