Dear all,
I am struggling to alter the following sliding window function to operate for dyadic functions.
swin:{[f;w;s] f each { 1_x,y }\[w#0;s]}
This only works for input functions that take one list as an argument; avg, max, min etc.
I would like to use a sliding window for functions like cor, lsq etc, which take 2 lists as input arguments. Does anyone know how to do this?
Faithfully,
Alexander