pub fn rolling_max<T>( values: &[T], window_size: usize, min_periods: usize, center: bool, weights: Option<&[f64]>) -> ArrayRefwhere T: NativeType + PartialOrd + IsFloat + Bounded + NumCast + Mul<Output = T>,