diffusr
diffusr copied to clipboard
Rcpp docu
roxygen/rcpp does not provide commentation when export name is set
This actually happens when the interface is set
//' Find the closest neighbors of a group of nodes in a graph.
//'
//' @noRd
//' @param node_idxs the staring distribution
//' @param W adjacency matrix
//' @param k the depth of the nearest neighbor search
//' @return returns a list of nearest neighbors for every node idxs given in <emph>node_idxs</emph>
// [[Rcpp::interfaces(r, cpp)]]
// [[Rcpp::export]]
Rcpp::List neighbors_(const Rcpp::IntegerVector& node_idxs,
const Rcpp::NumericMatrix& W,
const int k)
{
return R_NilValue;
}