Performs kernel-based convolution over a grid, mutating the source grid with the results.
For a given kernel, returns an array of offsets. These
consist of a cell offset (eg {x:-1,y:-1}) and the value at that kernel position.
Multiply every element of kernel by the same scalar value.
Returns new result, input is unmodified
Reduces an array of values to a single value. Returns undefined if no values are present.
Performs kernel-based convolution over
image.