vector

Routines for working with vectors These routines can be used with vectors, as well as with matrices containing a vector in each row.

Functions

  • vector.angle() ... Angle between two vectors
  • vector.GramSchmidt() ... Gram-Schmidt orthogonalization of three points
  • vector.normalize() ... Normalization of a vector
  • vector.project() ... Projection of one vector onto another
  • vector.plane_orientation() ... Orientation of plane defined by three points
  • vector.q_shortest_rotation() ... Quaternion indicating the shortest rotation from one vector into another.
  • vector.rotate_vector() ... Rotation of a vector

Details