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

297{
298 int i;
299 float total = 0;
300 /* Calculate total */
301 for (i = 0; i < nvals; i++)
302 total += vals[i];
303
304 return total;
305}

Referenced by compute_gserialized_stats_mode().

Here is the caller graph for this function: