discontinuousWorker_int: The worker function to calculate discontinuous NKDE (with...

discontinuousWorker_intR Documentation

The worker function to calculate discontinuous NKDE (with ARMADILLO and Integer matrix)

Description

The worker function to calculate discontinuous NKDE (with ARMADILLO and Integer matrix)

Arguments

kernel_func

a cpp pointer function (selected with the kernel name)

edge_mat

matrix, to find the id of each edge given two neighbours

neighbour_list

a List, giving for each node an IntegerVector with its neighbours

v

the actual node to consider for the recursion (int)

bw

the kernel bandiwdth

line_weights

a vector with the length of the edges

samples_edgeid

a vector associating each sample to an edge

samples_x

a vector with x coordinates of each sample

samples_ya

vector with y coordinates of each sample

nodes_x

a vector with x coordinates of each node

nodes_y

a vector with y coordinates of each node

depth

the actual recursion depth

max_depth

the maximum recursion depth

Value

a vector with the kernel values calculated for each samples from the first node given


spNetwork documentation built on June 22, 2024, 9:40 a.m.