PostGIS  3.0.6dev-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 346 of file gserialized_estimate.c.

347 {
348  int i;
349  float total = 0;
350  /* Calculate total */
351  for ( i = 0; i < nvals; i++ )
352  total += vals[i];
353 
354  return total;
355 }

Referenced by compute_gserialized_stats_mode().

Here is the caller graph for this function: