Skip to main content

Crate moore_neighborhood

Crate moore_neighborhood 

Source

Modules§

dynamic
Moore neighborhoods for dynamic ranges and dynamic dimensionality.
generic_dimension
Moore neighborhoods for dynamic ranges and statically known dimensionality.
generic_full
Fully generic Moore neighborhoods for statically known ranges and dimensionality.

Macros§

moore
Obtains the Moore neighborhood for a region of width RANGE for in the specified number of DIMENSIONS. The returned array has length LENGTH, which is determined as (2*RANGE+1).pow(DIMENSIONS) - 1.