duallattice
The dual lattice, sometimes called a duallattice, is a lattice L* associated with a lattice L in Euclidean space. It consists of all vectors y in the ambient space such that the inner product with every vector x in L is an integer: L* = { y | ⟨y, x⟩ ∈ Z for all x ∈ L }. The dual captures how L interacts with the integer-valued linear forms on the ambient space.
If L is full rank and generated by a basis with columns forming an invertible matrix B,
Examples help clarify the construction. For the standard integer lattice Z^n, the dual lattice is itself: Z^n*
Dual lattices play a central role in lattice-based cryptography, coding theory, and the analysis of lattices