convolve-nd 0.1.0

A small library to perform convolution operations on arrays of upto 3 dimensions using arbitrarily-sized separable kernels
Documentation
#[derive(Copy, Clone)]
pub struct SeparableKernel<const SIZE: usize> {
    values: [f32; SIZE]
}

impl<const SIZE: usize> SeparableKernel<SIZE> {
    pub fn new(values: [f32; SIZE]) -> Self {
        Self {
            values
        }    
    }
    
    pub fn values(&self) -> [f32; SIZE] {
        self.values
    }
}

#[derive(Copy, Clone)]
pub struct NonSeparableKernel<const SIZE: usize> {
    values: [[f32; SIZE]; SIZE]
}

impl<const SIZE: usize> NonSeparableKernel<SIZE> {
    pub fn new(values:  [[f32; SIZE]; SIZE]) -> Self {
        Self {
            values
        }
    }

    pub fn values(&self) ->  [[f32; SIZE]; SIZE] {
        self.values
    }
}