[][src]Function hotsax::dim_reduction::paa

pub fn paa<N>(data: &Vec<N>, dim: usize) -> Vec<N> where
    N: Float

Returns a piecewise approximation of the original list of values. The size of the output array will be the same as dim.

Panics

  • If data.len() <= dim