m×nruudukko
m×nruudukko, commonly referred to as a rectangular grid, is a rectangular arrangement of m rows and n columns of units (cells). The size is denoted by m by n (often written m×n). Each cell has coordinates (i, j) with 1 ≤ i ≤ m and 1 ≤ j ≤ n, where i indexes rows and j columns. The grid contains m·n cells. If one models the grid by its vertices rather than cells, the underlying lattice can be described by (m+1)×(n+1) grid points.
As a graph, the m×n grid can be viewed as the Cartesian product P_m × P_n of
Neighborhoods and variants: in many contexts, diagonally adjacent cells are considered neighbors (8-neighborhood). Grids may be
Applications: m×nruudukko is widely used in image processing (pixels arranged in a grid), numerical methods for