43 return (
int) (fabs(*ra) - fabs(*rb));
58 memset(b, 0,
sizeof (*b));
85 qsort(b->
best, b->
n, sizeof (
double), b->
bcmp);
106 for (i = 0; i < b->
n; i++)
bool bestof_add(bestof_T *b, double v)
double bestof_average(bestof_T *b)
int(* bestcomp_F)(const void *, const void *)
bool bestof_init(bestof_T *b, int dim, bestcomp_F bcmp)