Function rustml::sliding::param [] [src]

pub fn param(area_width: usize, window_width: usize, delta: usize) -> DimensionParameters

Creates a set of parameters for one dimension of a sliding window.

This is a convenient function which can be used instead of the new method of the DimensionParameters structure.

Example

use rustml::sliding::*;
assert_eq!(
    DimensionParameters::new(100, 10, 5),
    param(100, 10, 5)
);