pub trait Convolution<const N: usize> {
// Required methods
fn border_width(&self, axis: usize) -> usize;
fn interior(&self, axis: usize) -> &[f64];
fn free(&self, border: Border, axis: usize) -> &[f64];
fn scale(&self, spacing: [f64; N]) -> f64;
}Expand description
A N-dimensional tensor product of several seperable kernels.