Trait Bandwidth

Source
pub trait Bandwidth<F: KDEFloat> {
    // Required method
    fn bandwidth(&self, data: &[F]) -> F;
}
Expand description

Shared behavior for bandwidth selection strategies.

Required Methods§

Source

fn bandwidth(&self, data: &[F]) -> F

Returns a bandwidth value estimated from the points in data.

Implementors§

Source§

impl<F: KDEFloat> Bandwidth<F> for Scott

Source§

impl<F: KDEFloat> Bandwidth<F> for Silverman

Source§

impl<T, F> Bandwidth<F> for T
where T: Fn(&[F]) -> F, F: KDEFloat,