pub struct NearestNeighborKernel { /* private fields */ }
Expand description
Fixed-bandwidth nearest-neighbor (or uniform) kernel, $$ K_h(x, x’) = \mathbf{1}_{|x - x’| < h} $$
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NearestNeighborKernel
impl RefUnwindSafe for NearestNeighborKernel
impl Send for NearestNeighborKernel
impl Sync for NearestNeighborKernel
impl Unpin for NearestNeighborKernel
impl UnwindSafe for NearestNeighborKernel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more