c++ k function (INTERNAL)

kfunc_cpp(dist_mat, start, end, step, Lt, n, w)

Arguments

dist_mat

A square matrix with the distances between points

start

A float, the start value for evaluating the k-function

end

A float, the last value for evaluating the k-function

step

A float, the jump between two evaluations of the k-function

Lt

The total length of the network

n

The number of points

w

The weight of the points (coincident points)

Value

A numeric vector with the values of the k function evaluated at the required distances