PostGIS  2.5.0dev-r@@SVN_REVISION@@
static double total_double ( const double *  vals,
int  nvals 
)
static

Given double array, return sum of values.

Definition at line 351 of file gserialized_estimate.c.

Referenced by compute_gserialized_stats_mode().

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

Here is the caller graph for this function: