question: private void blackmanHarris4sMin ( int size ) { int start = ( windowFunction . length - size ) / 2 ; int stop = ( windowFunction . length + size ) / 2 ; double scale = 1.0 / ( double ) size / 0.36 ; for ( int i = 0 ; start < stop ; start ++ , i ++ ) windowFunction [ i ] = scale * ( 0.35875 - 0.48829 * Math . cos ( twoPI * i / size ) + 0.14128 * Math . cos ( 2 * twoPI * i / size ) - 0.01168 * Math . cos ( 3 * twoPI * i / size ) ) ; }
target:  Fill an array with the values of a minimum 4-sample Blackman-Harris window function