flooru
floorU is a generalized floor operator defined with respect to a positive unit size U. For any real number x, floorU(x) returns the greatest multiple of U that is less than or equal to x. Equivalently, floorU(x) = floor(x / U) · U. In higher dimensions, this operation is applied component-wise to vectors, producing a grid-aligned coordinate where each component lies on a U-sized cell boundary.
This generalization unifies the standard floor function with grid discretization. When U = 1, floorU coincides with
In practice, floorU is used to discretize continuous spaces, particularly in computational settings. It supports spatial
Examples illustrate its behavior: with U = 0.5, floorU(1.2) equals 1.0 and floorU(1.0) equals 1.0; with U =