R/utils.R
circ_mask.Rd
Create a logical circular mask spanning the full extent of an n x n matrix.
circ_mask(d, n, offset = 1)
diameter of the mask.
number of matrix rows and columns.
offset the mask centre in matrix dimension units.
logical n x n mask matrix.