template<class T, int TDIM>
class ug::raster_kernels::Sum< T, TDIM >
Kernel which sums the values for all entries it was called on.
For use with ug::Raster.
This class defines a default constructor, the type 'result_t', and the method 'result_t result() const' and can thus be used like this:
Generic raster for arbitrary dimensions.
Definition raster.h:73
TKernel::result_t run_on_all()
Creates and runs the specified kernel on all nodes and returns its result.
Definition raster_impl.hpp:503
TKernel::result_t run_on_nbrs(const MultiIndex ¢er)
Creates and runs the specified kernel on all direct neighbors of a node and returns its result.
Definition raster_impl.hpp:542
Kernel which sums the values for all entries it was called on.
Definition raster_kernels.h:96
- Note
- 'no_data_values' are ignored and will not be summed.