GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-36359e2344
c_sum.c File Reference
#include <grass/gis.h>
#include <grass/raster.h>
Include dependency graph for c_sum.c:

Go to the source code of this file.

Functions

void c_sum (DCELL *result, DCELL *values, int n, const void *closure UNUSED)
 
void w_sum (DCELL *result, DCELL(*values)[2], int n, const void *closure UNUSED)
 

Function Documentation

◆ c_sum()

void c_sum ( DCELL result,
DCELL values,
int  n,
const void *closure  UNUSED 
)

Definition at line 4 of file c_sum.c.

References count, Rast_is_d_null_value, and Rast_set_d_null_value().

◆ w_sum()

void w_sum ( DCELL result,
DCELL(*)  values[2],
int  n,
const void *closure  UNUSED 
)

Definition at line 27 of file c_sum.c.

References count, Rast_is_d_null_value, and Rast_set_d_null_value().