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

Given double array, return sum of values.

Definition at line 280 of file gserialized_estimate.c.

Referenced by compute_gserialized_stats_mode().

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

Here is the caller graph for this function: