compute the autocorrelation , -- , ac i = > x n x n-i for all n ` -- ' for lags between 0 and lag-1 , and x == 0 outside 0...n-1 concode_field_sep PlaceHolder placeHolder concode_field_sep float wld
void function ( final float [ ] arg0 , final float [ ] arg1 , int arg2 , final int arg3 ) { float loc0 ; int loc1 ; while ( arg2 -- > 0 ) { for ( loc1 = arg2 , loc0 = 0 ; loc1 < arg3 ; loc1 ++ ) loc0 += arg0 [ loc1 ] * arg0 [ loc1 - arg2 ] ; arg1 [ arg2 ] = loc0 ; } }