Blog created for comments to my Digital Signal Processing routines.
void vector_allocate(double **vector, int vector_width){ (*vector) = malloc(vector_width * sizeof(double)); if((*vector) == NULL) { fprintf(stderr, "Cannot allocate memory for data\n"); exit(1); }}
No comments:
Post a Comment