PostGIS  3.7.0dev-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 370 of file gserialized_estimate.c.

371 {
372  int i;
373  float total = 0;
374  /* Calculate total */
375  for ( i = 0; i < nvals; i++ )
376  total += vals[i];
377 
378  return total;
379 }

Referenced by compute_gserialized_stats_mode().

Here is the caller graph for this function: