pub struct GaussianKde { /* private fields */ }Expand description
A fitted Gaussian kernel density estimator over a one-dimensional sample.
Holds the observations and the squared bandwidth (kernel variance) derived
from them, so density queries reuse a single bandwidth computed once at fit
time. Fields are private to keep the sample and its derived bandwidth an
invariant pair; query the estimate with GaussianKde::density /
GaussianKde::density_at.
Implementations§
Trait Implementations§
Source§impl Clone for GaussianKde
impl Clone for GaussianKde
Source§fn clone(&self) -> GaussianKde
fn clone(&self) -> GaussianKde
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 moreSource§impl Debug for GaussianKde
impl Debug for GaussianKde
Source§impl PartialEq for GaussianKde
impl PartialEq for GaussianKde
Source§fn eq(&self, other: &GaussianKde) -> bool
fn eq(&self, other: &GaussianKde) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GaussianKde
Auto Trait Implementations§
impl Freeze for GaussianKde
impl RefUnwindSafe for GaussianKde
impl Send for GaussianKde
impl Sync for GaussianKde
impl Unpin for GaussianKde
impl UnsafeUnpin for GaussianKde
impl UnwindSafe for GaussianKde
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