#ifndef CALC_HISTOGRAMS_H #define CALC_HISTOGRAMS_H #define BB (4) /* * calcHistograms: * ai is a 3-D array: 1st dim = Gabor frequency, 2nd dim = AU, 3rd dim = time. * n1, n2, and n3 describe how large each dimension of ai is. The function returns * a dynamically allocated (caller must free it) 1-D array whose length is BB * n1 * n2. */ double *calcHistograms (double ***ai, int n1, int n2, int n3); #endif