Collaboration diagram for DSPF_sp_autocor:
void | DSPF_sp_autocor (float *restrict r, float *restrict x, const int nx, const int nr) |
void DSPF_sp_autocor | ( | float *restrict | r, | |
float *restrict | x, | |||
const int | nx, | |||
const int | nr | |||
) |
This routine performs the autocorrelation of the input array x. It is assumed that the length of the input array, x, is a multiple of 4 and the length of the output array, r, is a multiple of 4. It is assumed that input vector x is padded with nr no of zeros in the beginning.
r | Pointer to output array of autocorrelation of length nr | |
x | Pointer to input array of length nx+nr Input data must be padded with nr consecutive zeros at the beginning | |
nx | Length of autocorrelation vector | |
nr | Length of lags |