mango.math.rotation_matrix_from_cross_prod

mango.math.rotation_matrix_from_cross_prod(a, b)

Returns the rotation matrix which rotates the vector a onto the the vector b.

Parameters:
  • a (3 sequence of float) – Vector to be rotated on to b.
  • b (3 sequence of float) – Vector.
Return type:

numpy.array

Returns:

3D rotation matrix.

Previous topic

mango.math.rotation_matrix

Next topic

mango.math.axis_angle_from_cross_prod

This Page