crystalpy.util.Vector

Represents a 3d vector. Accept arrays of vectors.

vector.components() gives a numpy array with shape (3) or (3, npoints)

Classes

Vector(x, y, z)

Vector Constructor.