101{
  102    
  103    integer phi_dim1, phi_offset, i__1, i__2;
 
  104 
  105    
  107 
  108
  109
  110
  111    
  112    --psi;
  114    phi_offset = phi_dim1 + 1;
  115    phi -= phi_offset;
  116    --speech;
  117 
  118    
  119    start = *awins + *
order;
 
  121    for (r__ = 1; r__ <= i__1; ++r__) {
  122    phi[r__ + phi_dim1] = 0.f;
  123    i__2 = *awinf;
  124    for (i__ = start; i__ <= i__2; ++i__) {
  125        phi[r__ + phi_dim1] += speech[i__ - 1] * speech[i__ - r__];
  126    }
  127    }
  128
  130    i__1 = *awinf;
  131    for (i__ = start; i__ <= i__1; ++i__) {
  132    psi[*
order] += speech[i__] * speech[i__ - *
order];
 
  133    }
  134
  136    for (r__ = 2; r__ <= i__1; ++r__) {
  137    i__2 = r__;
  138    for (c__ = 2; c__ <= i__2; ++c__) {
  139        phi[r__ + c__ * phi_dim1] = phi[r__ - 1 + (c__ - 1) * phi_dim1] -
  140            speech[*awinf + 1 - r__] * speech[*awinf + 1 - c__] +
  141            speech[start - r__] * speech[start - c__];
  142    }
  143    }
  144
  146    for (c__ = 1; c__ <= i__1; ++c__) {
  147    psi[c__] = phi[c__ + 1 + phi_dim1] - speech[start - 1] * speech[start
  148        - 1 - c__] + speech[*awinf] * speech[*awinf - c__];
  149    }
  150
  151
  152
  153
  154
  155
  156
  157
  158
  159
  160
  161    return 0;
  162}