copy_d_window

Signal Processing Library

Program name: copy_d_window

Language: C

In file: window_lib.c

Objective: Copy data from one window to another

Usage: copy_d_window(double *d_window_i, int length, double **d_window_o);

Parameters:

  • vector_i - The input window
  • vector_o - The output window
  • length - The length of the windows
Return value:
  • void

Mathematical Description: x -> y;

Comments: Routine is used to copy a window (array of data) from one variable to another

User Comments

Code:

void copy_d_window(double *d_window_i, int window_size, double **d_window_o)
{
int i;

for(i = 0; i < window_size; i++) {
(*d_window_o)[i] = d_window_i[i];
}
return;
}