Trait tea_rolling::RollingFeature

source ·
pub trait RollingFeature<T: Clone>: Vec1View<T> {
Show 16 methods // Provided methods fn ts_sum_to<O: Vec1<U>, U>( &self, window: usize, min_periods: Option<usize>, out: Option<O::UninitRefMut<'_>>, ) -> Option<O> where T: Number, f64: Cast<U> { ... } fn ts_sum<O: Vec1<U>, U>( &self, window: usize, min_periods: Option<usize>, ) -> O where T: Number, f64: Cast<U> { ... } fn ts_mean_to<O: Vec1<U>, U>( &self, window: usize, min_periods: Option<usize>, out: Option<O::UninitRefMut<'_>>, ) -> Option<O> where T: Number, f64: Cast<U> { ... } fn ts_mean<O: Vec1<U>, U>( &self, window: usize, min_periods: Option<usize>, ) -> O where T: Number, f64: Cast<U> { ... } fn ts_ewm_to<O: Vec1<U>, U>( &self, window: usize, min_periods: Option<usize>, out: Option<O::UninitRefMut<'_>>, ) -> Option<O> where T: Number, f64: Cast<U> { ... } fn ts_ewm<O: Vec1<U>, U>( &self, window: usize, min_periods: Option<usize>, ) -> O where T: Number, f64: Cast<U> { ... } fn ts_wma_to<O: Vec1<U>, U>( &self, window: usize, min_periods: Option<usize>, out: Option<O::UninitRefMut<'_>>, ) -> Option<O> where T: Number, f64: Cast<U> { ... } fn ts_wma<O: Vec1<U>, U>( &self, window: usize, min_periods: Option<usize>, ) -> O where T: Number, f64: Cast<U> { ... } fn ts_std_to<O: Vec1<U>, U>( &self, window: usize, min_periods: Option<usize>, out: Option<O::UninitRefMut<'_>>, ) -> Option<O> where T: Number, f64: Cast<U> { ... } fn ts_std<O: Vec1<U>, U>( &self, window: usize, min_periods: Option<usize>, ) -> O where T: Number, f64: Cast<U> { ... } fn ts_var_to<O: Vec1<U>, U>( &self, window: usize, min_periods: Option<usize>, out: Option<O::UninitRefMut<'_>>, ) -> Option<O> where T: Number, f64: Cast<U> { ... } fn ts_var<O: Vec1<U>, U>( &self, window: usize, min_periods: Option<usize>, ) -> O where T: Number, f64: Cast<U> { ... } fn ts_skew_to<O: Vec1<U>, U>( &self, window: usize, min_periods: Option<usize>, out: Option<O::UninitRefMut<'_>>, ) -> Option<O> where T: Number, f64: Cast<U> { ... } fn ts_skew<O: Vec1<U>, U>( &self, window: usize, min_periods: Option<usize>, ) -> O where T: Number, f64: Cast<U> { ... } fn ts_kurt_to<O: Vec1<U>, U>( &self, window: usize, min_periods: Option<usize>, out: Option<O::UninitRefMut<'_>>, ) -> Option<O> where T: Number, f64: Cast<U> { ... } fn ts_kurt<O: Vec1<U>, U>( &self, window: usize, min_periods: Option<usize>, ) -> O where T: Number, f64: Cast<U> { ... }
}

Provided Methods§

source

fn ts_sum_to<O: Vec1<U>, U>( &self, window: usize, min_periods: Option<usize>, out: Option<O::UninitRefMut<'_>>, ) -> Option<O>
where T: Number, f64: Cast<U>,

source

fn ts_sum<O: Vec1<U>, U>(&self, window: usize, min_periods: Option<usize>) -> O
where T: Number, f64: Cast<U>,

source

fn ts_mean_to<O: Vec1<U>, U>( &self, window: usize, min_periods: Option<usize>, out: Option<O::UninitRefMut<'_>>, ) -> Option<O>
where T: Number, f64: Cast<U>,

source

fn ts_mean<O: Vec1<U>, U>(&self, window: usize, min_periods: Option<usize>) -> O
where T: Number, f64: Cast<U>,

source

fn ts_ewm_to<O: Vec1<U>, U>( &self, window: usize, min_periods: Option<usize>, out: Option<O::UninitRefMut<'_>>, ) -> Option<O>
where T: Number, f64: Cast<U>,

source

fn ts_ewm<O: Vec1<U>, U>(&self, window: usize, min_periods: Option<usize>) -> O
where T: Number, f64: Cast<U>,

source

fn ts_wma_to<O: Vec1<U>, U>( &self, window: usize, min_periods: Option<usize>, out: Option<O::UninitRefMut<'_>>, ) -> Option<O>
where T: Number, f64: Cast<U>,

source

fn ts_wma<O: Vec1<U>, U>(&self, window: usize, min_periods: Option<usize>) -> O
where T: Number, f64: Cast<U>,

source

fn ts_std_to<O: Vec1<U>, U>( &self, window: usize, min_periods: Option<usize>, out: Option<O::UninitRefMut<'_>>, ) -> Option<O>
where T: Number, f64: Cast<U>,

source

fn ts_std<O: Vec1<U>, U>(&self, window: usize, min_periods: Option<usize>) -> O
where T: Number, f64: Cast<U>,

source

fn ts_var_to<O: Vec1<U>, U>( &self, window: usize, min_periods: Option<usize>, out: Option<O::UninitRefMut<'_>>, ) -> Option<O>
where T: Number, f64: Cast<U>,

source

fn ts_var<O: Vec1<U>, U>(&self, window: usize, min_periods: Option<usize>) -> O
where T: Number, f64: Cast<U>,

source

fn ts_skew_to<O: Vec1<U>, U>( &self, window: usize, min_periods: Option<usize>, out: Option<O::UninitRefMut<'_>>, ) -> Option<O>
where T: Number, f64: Cast<U>,

source

fn ts_skew<O: Vec1<U>, U>(&self, window: usize, min_periods: Option<usize>) -> O
where T: Number, f64: Cast<U>,

source

fn ts_kurt_to<O: Vec1<U>, U>( &self, window: usize, min_periods: Option<usize>, out: Option<O::UninitRefMut<'_>>, ) -> Option<O>
where T: Number, f64: Cast<U>,

source

fn ts_kurt<O: Vec1<U>, U>(&self, window: usize, min_periods: Option<usize>) -> O
where T: Number, f64: Cast<U>,

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T: Clone, I: Vec1View<T>> RollingFeature<T> for I