- double tinput0[] = tempinput[x0];
- double tinput1[] = tempinput[x0+1];
- double tinput2[] = tempinput[x0+2];
- double tinput3[] = tempinput[x0+3];
- double tinput4[] = tempinput[x0+4];
-
- for(int i=x0;i<x1;++i){
- double tout[] = tempout[x0];
+ double tinput1[] = tempinput[x0];
+ double tinput2[] = tempinput[x0+1];
+ double tinput3[] = tempinput[x0+2];
+ double tinput4[] = tempinput[x0+3];
+ double tinput0[] = tinput1;
+
+ int l=x0+4;
+ for(int i=x0;i<x1;i++,l++){
+ double tout[] = tempout[i];
+ tinput0 = tinput1; tinput1=tinput2; tinput2=tinput3; tinput3=tinput4; tinput4=tempinput[l];