@window_filter(nim, coef:tab, pos:numeric)
Each component is the result of a smoothing process of the breakpoints.
Ecah breakpoint of the new nim is computed by the dot product of coef
with a sequence of y
of the same length as coef
where position pos
corresponds to the current breakpoint.
For example,
@window_filter(nim, [2], 0)
nim
by 2.
@window_filter(nim, [0.1, 0.2, 0.4, 0.2, 0.1], 2)
y
.
See also @filter_max_t, @filter_median_t and @filter_min_t.