Skip to main content

to_position

Method of Lattice.

to_position(const LatticeCoordinate coordinate) -> RealMatrix

Compute the position of a given lattice coordinate. If the coordinate isn't in the lattice, throws an exception.

Parameters

  • coordinate: A lattice coordinate.