treams.lattice.reciprocal

treams.lattice.reciprocal(a) = <ufunc 'reciprocal'>

Reciprocal vectors in two- and three-dimensional space

Calculate the reciprocal vectors to the lattice vectors given as rows of a.

Parameters:

a (float, (2,2)- or (3,3)-array) – Lattice vectors

Returns:

float, (2,2)- or (3,3)-array