pub fn triangular_iter(size: usize) -> TriangularWindowIter ⓘExpand description
returns an iterator that yields the values for a triangular
window
if l = size - 1 then the outermost values of the window are 0.
if l = size then the outermost values of the window are higher.
if l = size + 1 then the outermost values of the window are even higher.
§Panics
panics unless 0 < size