triqs.lattice.lattice_tools.BravaisLattice.lattice_to_real_coordinates

BravaisLattice.lattice_to_real_coordinates()

Dispatched C++ function(s).

[1] (v: ndarray[float, 1])
  -> ndarray[float, 1]

Transform a vector \(\mathbf{v}\) from the lattice basis \(\{ \mathbf{a}_1, \dots, \mathbf{a}_d \}\) to the standard basis \(\{ \mathbf{e}_1, \dots, \mathbf{e}_d \}\).

The transformed vector is given by

\[\tilde{\mathbf{v}} = \sum_{i=1}^{d} \mathbf{a}_i v_i = A \mathbf{v} \; ,\]

where \(A\) is the matrix with the lattice basis vectors as its columns.

Parameters:
vndarray[float, 1]

Vector \(\mathbf{v}\) to be transformed.

Returns:
ndarray[float, 1]

Vector \(\tilde{\mathbf{v}}\) in the standard basis.