c++ k function counting (INTERNAL)
gfunc_counting(dist_mat, wc, wr, breaks, width)
A numeric matrix with the countings of the g function evaluated at the required distances
A matrix with the distances between points
The weight of the points represented by the columns (destinations)
The weight of the points represented by the rows (origins)
A numeric vector with the distance to consider
The width of each donut