|
|
constexpr auto | dedekind::geometry::natural_lattice_2d () |
| | The unbounded natural lattice in 2D: Λ_nat = { (x, y) ∈ ℕ² }.
|
|
constexpr auto | dedekind::geometry::integer_lattice_2d () |
| | The unbounded integer lattice in 2D: Λ_int = { (x, y) ∈ ℤ² }.
|
| constexpr auto | dedekind::geometry::square_natural_grid (unsigned int n) |
| | The canonical N×N square natural grid: G_N^nat = { (x, y) ∈ ℕ² | 0 ≤ x < n, 0 ≤ y < n }.
|
| constexpr auto | dedekind::geometry::square_integer_grid (IntegerLatticeScalar lower, IntegerLatticeScalar upper) |
| | Bounded square integer grid: G_Z = { (x, y) ∈ ℤ² | lower ≤ x < upper, lower ≤ y < upper }.
|
Geometric lattices (ℤ², ℕ², Gaussian integers in ℂ).
@partition :lattice
- Copyright
- 2026 The Dedekind Authors Licensed under the Apache License, Version 2.0.
- Note
- "解伏題之法は、消去の術に在り" — Seki Kōwa (関 孝和, 1642–1708), paraphrase of the central thesis of Kaifukudai no Hō (解伏題之法, 1683), the treatise that introduced determinant theory roughly a decade before Leibniz. [Trans: "The method of solving buried problems lies in the
technique of elimination."]
Seki computed on a sangi (算木) wooden board — a literal integer lattice — making his school's algebraic technique a natural ancestor of the IntegerLatticePoint2D / integer_lattice_2d() carriers below.
| auto dedekind::geometry::square_natural_grid |
( |
unsigned int | n | ) |
|
|
constexprexport |
The canonical N×N square natural grid: G_N^nat = { (x, y) ∈ ℕ² | 0 ≤ x < n, 0 ≤ y < n }.
Built as the cartesian product of two finite bounded naturals using the set-builder DSL. This is the lattice domain before any continuous embedding. Post-#401 the grid coordinates are NaturalLatticePoint2D = pair<unsigned, unsigned> to match the ℕ carrier reading.
- Parameters
-
| n | Side length of the grid (number of points per axis). |
- Returns
- A Set<NaturalLatticePoint2D, Kleene, ...>.