[][src]Trait light_curve_feature::statistics::Statistics

pub trait Statistics<T> where
    T: Float, 
{ fn sorted(&self) -> Vec<T>;
fn minimum(&self) -> T;
fn maximum(&self) -> T;
fn min_from_sorted(&self) -> T;
fn max_from_sorted(&self) -> T;
fn mean(&self) -> T;
fn median(&self) -> T;
fn median_from_sorted(&self) -> T;
fn ppf(&self, q: f32) -> T;
fn ppf_from_sorted(&self, q: f32) -> T;
fn ppf_many(&self, q: &[f32]) -> Vec<T>;
fn ppf_many_from_sorted(&self, q: &[f32]) -> Vec<T>;
fn peak_indices(&self) -> Vec<usize>;
fn peak_indices_reverse_sorted(&self) -> Vec<usize>; }

Required methods

fn sorted(&self) -> Vec<T>

fn minimum(&self) -> T

fn maximum(&self) -> T

fn min_from_sorted(&self) -> T

fn max_from_sorted(&self) -> T

fn mean(&self) -> T

fn median(&self) -> T

fn median_from_sorted(&self) -> T

fn ppf(&self, q: f32) -> T

fn ppf_from_sorted(&self, q: f32) -> T

fn ppf_many(&self, q: &[f32]) -> Vec<T>

fn ppf_many_from_sorted(&self, q: &[f32]) -> Vec<T>

fn peak_indices(&self) -> Vec<usize>

fn peak_indices_reverse_sorted(&self) -> Vec<usize>

Loading content...

Implementations on Foreign Types

impl<T> Statistics<T> for [T] where
    T: Float, 
[src]

fn peak_indices(&self) -> Vec<usize>[src]

Indices of local maxima, edge points are never included

Loading content...

Implementors

Loading content...