serialHeatrank: Compute heatrank for a single case

Description Usage Arguments Value

View source: R/RcppExports.R

Description

The heatrank incorporates the correction (r + 1)/(p + 1) instead of r/p

Usage

1
serialHeatrank(R, perm, G, ind)

Arguments

R

dense matrix with the diffusion kernel

perm

sparse matrix with the permutations

G

sparse matrix with the heat sources

ind

index of the G column for current source

Value

an arma::vec with node heatranks


b2slab/diffusion documentation built on March 6, 2021, 2:38 a.m.