Utilities for euclidean geometryΒΆ

rotation_matrix(axis, angle) Returns the rotation matrix.
give_angle(Vector1, Vector2) Calculate the angle in degrees between two vectors.
orthormalize(basis) Orthonormalizes a given basis.
normalize(vector) Normalizes a vector
distance(vector1, vector2) Calculates the distance between vector1 and vector2
kabsch(P, Q) The optimal rotation matrix U is calculated and then used to rotate matrix P unto matrix Q so the minimum root-mean-square deviation (RMSD) can be calculated.