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

Given double array, return sum of values.

Definition at line 281 of file gserialized_estimate.c.

Referenced by compute_gserialized_stats_mode().

282 {
283  int i;
284  float total = 0;
285  /* Calculate total */
286  for ( i = 0; i < nvals; i++ )
287  total += vals[i];
288 
289  return total;
290 }

Here is the caller graph for this function: