PostGIS 3.6.2dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ total_double()

static double total_double ( const double *  vals,
int  nvals 
)
static

Given double array, return sum of values.

Definition at line 300 of file gserialized_estimate.c.

301{
302 int i;
303 float total = 0;
304 /* Calculate total */
305 for (i = 0; i < nvals; i++)
306 total += vals[i];
307
308 return total;
309}

Referenced by compute_gserialized_stats_mode().

Here is the caller graph for this function: