pub struct EpanechnikovKernel { /* private fields */ }Expand description
The Epanechnikov kernel is given by $$ K_h(x, x’) = D\left( \frac{|x-x’|}{h} \right) $$ where $D(u) = \frac34(1-u^2)\mathbf{1}_{|u|\leq 1}$.
Implementations§
Trait Implementations§
Source§impl Clone for EpanechnikovKernel
impl Clone for EpanechnikovKernel
Source§fn clone(&self) -> EpanechnikovKernel
fn clone(&self) -> EpanechnikovKernel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EpanechnikovKernel
Source§impl Debug for EpanechnikovKernel
impl Debug for EpanechnikovKernel
Auto Trait Implementations§
impl Freeze for EpanechnikovKernel
impl RefUnwindSafe for EpanechnikovKernel
impl Send for EpanechnikovKernel
impl Sync for EpanechnikovKernel
impl Unpin for EpanechnikovKernel
impl UnsafeUnpin for EpanechnikovKernel
impl UnwindSafe for EpanechnikovKernel
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