PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ total_double()

static double total_double ( const double *  vals,
int  nvals 
)
static

Given double array, return sum of values.

Definition at line 354 of file gserialized_estimate.c.

355 {
356  int i;
357  float total = 0;
358  /* Calculate total */
359  for ( i = 0; i < nvals; i++ )
360  total += vals[i];
361 
362  return total;
363 }

Referenced by compute_gserialized_stats_mode().

Here is the caller graph for this function: