fh_comm.lattice.SubLattice¶
- class fh_comm.lattice.SubLattice(basis: ndarray)[source]¶
Bases:
objectSub-lattice specified by integer-valued basis vectors.
Methods
Determine whether v is a point of the sub-lattice.
Generate the list of points belonging to the sublattice within the region defined by cmin (inclusive) and cmax (exclusive).
Determine the sub-lattice point minimizing the squared distances to the points in vlist.
Determine the sub-lattice point closest to v.
- instantiate(cmin: Sequence[int], cmax: Sequence[int])[source]¶
Generate the list of points belonging to the sublattice within the region defined by cmin (inclusive) and cmax (exclusive).