PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ range_quintile()

static int range_quintile ( int *  vals,
int  nvals 
)
static

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

Definition at line 344 of file gserialized_estimate.c.

345 {
346  qsort(vals, nvals, sizeof(int), cmp_int);
347  return vals[4*nvals/5] - vals[nvals/5];
348 }
static int cmp_int(const void *a, const void *b)
Integer comparison function for qsort.

References cmp_int().

Referenced by nd_box_array_distribution().

Here is the call graph for this function:
Here is the caller graph for this function: