PostGIS  2.1.10dev-r@@SVN_REVISION@@
static int range_quintile ( int *  vals,
int  nvals 

The difference between the fourth and first quintile values, the "inter-quintile range".

Definition at line 270 of file gserialized_estimate.c.

References cmp_int().

Referenced by nd_box_array_distribution().

271 {
272  qsort(vals, nvals, sizeof(int), cmp_int);
273  return vals[4*nvals/5] - vals[nvals/5];
274 }
static int cmp_int(const void *a, const void *b)
Integer comparison function for qsort.

Here is the call graph for this function:

Here is the caller graph for this function: