pub struct KdeCurve {
pub xs: Vec<f64>,
pub density: Vec<f64>,
pub bandwidth: f64,
}Expand description
An evaluated kernel density estimate: paired x positions and density
values, plus the bandwidth that produced them.
Fields§
§xs: Vec<f64>Evaluation positions along the value axis, ascending.
density: Vec<f64>Estimated density at each corresponding xs position. Integrates to ~1.
bandwidth: f64The bandwidth (kernel standard deviation) actually used.
Implementations§
Trait Implementations§
impl StructuralPartialEq for KdeCurve
Auto Trait Implementations§
impl Freeze for KdeCurve
impl RefUnwindSafe for KdeCurve
impl Send for KdeCurve
impl Sync for KdeCurve
impl Unpin for KdeCurve
impl UnsafeUnpin for KdeCurve
impl UnwindSafe for KdeCurve
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