c++ k function counting (INTERNAL)
kfunc_counting(dist_mat, wc, wr, breaks, cross = FALSE)
A numeric matrix with the countings of the k 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
A boolean indicating if we are calculating a cross k function or not (default is FALSE)