Lines Matching refs:limit
24 int limit; in readdoubles() local
29 limit = 2*info.st_size/sizeof(double); /* @@ approximate */ in readdoubles()
31 limit = 10000; in readdoubles()
34 x = calloc(limit, sizeof(double)); in readdoubles()
40 for (i=0; i<limit; ++i){ in readdoubles()
51 arraystats(double *x, int limit, double *mu, double *sigma, double *rho) in arraystats() argument
57 for (i=0; i<limit; ++i){ in arraystats()
93 makedist(double *x, int limit, double mu, double sigma) in makedist() argument
105 for (i=0; i < limit; ++i) { in makedist()
123 cumulativedist(int *table, int limit, int *total) in cumulativedist() argument
127 while (--limit >= 0) { in cumulativedist()
162 interpolatetable(short *table, int limit) in interpolatetable() argument
167 for (i=0; i < limit; ++i) { in interpolatetable()
169 for (j=i; j < limit; ++j) in interpolatetable()
172 if (j < limit) { in interpolatetable()
175 table[i] = last + (i-lasti)*(MAXSHORT-last)/(limit-lasti); in interpolatetable()
185 printtable(const short *table, int limit) in printtable() argument
191 for (i=0 ; i < limit; ++i) { in printtable()
203 int limit; in main() local
216 x = readdoubles(fp, &limit); in main()
217 if (limit <= 0) { in main()
221 arraystats(x, limit, &mu, &sigma, &rho); in main()
224 limit, mu, sigma, rho); in main()
227 table = makedist(x, limit, mu, sigma); in main()