The worker function to calculate discontinuous NKDE (with ARMADILLO and sparse matrix)
a vector with the kernel values calculated for each samples from the first node given
a cpp pointer function (selected with the kernel name)
matrix, to find the id of each edge given two neighbours
a List, giving for each node an IntegerVector with its neighbours
the actual node to consider for the recursion (int)
the kernel bandiwdth
a vector with the length of the edges
a vector associating each sample to an edge
a matrix with the X and Y coordinates of the samples
a matrix with the X and Y coordinates of the nodes
the actual recursion depth
the maximum recursion depth