Skip to main content

Kernel

Trait Kernel 

Source
pub trait Kernel {
    // Required methods
    fn border_width(&self) -> usize;
    fn interior(&self) -> &[f64];
    fn free(&self, border: Border) -> &[f64];
    fn scale(&self, spacing: f64) -> f64;
}

Required Methods§

Source

fn border_width(&self) -> usize

Source

fn interior(&self) -> &[f64]

Source

fn free(&self, border: Border) -> &[f64]

Source

fn scale(&self, spacing: f64) -> f64

Implementors§

Source§

impl Kernel for Unimplemented

Source§

impl Kernel for Value

Source§

impl<'a, T: Kernel> Kernel for IRef<'a, T>

Source§

impl<const ORDER: usize> Kernel for Derivative<ORDER>

Source§

impl<const ORDER: usize> Kernel for Dissipation<ORDER>

Source§

impl<const ORDER: usize> Kernel for SecondDerivative<ORDER>