Separation and size of the square grid
Library · Source module
Separation and size of the square grid
The square grid NLAlib.squareGrid c R ε of the exceptional shifts covers the disk \mathbb{D}(c, R) at distance \varepsilon R (NLAlib.exists_mem_squareGrid_norm_sub_le). Its spacing is 2R/m with m = \lceil\sqrt2/\varepsilon\rceil, at least 2\varepsilon R/(\sqrt2 + \varepsilon), so for \varepsilon \le 1/2 distinct grid points are at distance at least 0.99\,\varepsilon R, the separation a random translate of a net needs. The grid restricted to the disk \mathbb{D}(c, (1 + \varepsilon)R) still covers \mathbb{D}(c, R) at distance \varepsilon R and has at most 9/\varepsilon^2 points. [BanksGarzaVargasSrivastava2021, proof of Lemma 4.7] uses a maximal \varepsilon R-separated subset of the disk instead of a grid.
Main results
* NLAlib.squareGrid_pairwise_separated: distinct grid points are 0.99\,\varepsilon R apart. * NLAlib.exists_mem_filter_squareGrid_norm_sub_le: the restricted grid covers the disk. * NLAlib.card_filter_squareGrid_le: the restricted grid has at most 9/\varepsilon^2 points. * NLAlib.length_squareGrid_mul_sq_le: the whole grid has at most (\sqrt2 + 2\varepsilon)^2/\varepsilon^2 points. * NLAlib.squareGrid_mul_eq_map: the grid of radius tR is the grid of radius R around 0, scaled by t and translated by the centre.