PostGIS  2.3.7dev-r@@SVN_REVISION@@

◆ range_quintile()

static int range_quintile ( int *  vals,
int  nvals 

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

Definition at line 295 of file gserialized_estimate.c.

References cmp_int().

Referenced by nd_box_array_distribution().

296 {
297  qsort(vals, nvals, sizeof(int), cmp_int);
298  return vals[4*nvals/5] - vals[nvals/5];
299 }
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: