kernel: array[-3..3,-3..3] of real;
x := kernel[-3,-3];
Sometimes you want negative indices, e.g. when performing a convolution on an image with a kernel.
Sometimes you want negative indices, e.g. when performing a convolution on an image with a kernel.