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

Given double array, return sum of values.

Definition at line 305 of file gserialized_estimate.c.

Referenced by compute_gserialized_stats_mode().

306 {
307  int i;
308  float total = 0;
309  /* Calculate total */
310  for ( i = 0; i < nvals; i++ )
311  total += vals[i];
312 
313  return total;
314 }

Here is the caller graph for this function: