Ground/response accumulation for one unit — returns unit vector and per-row matrix
Source:R/RcppExports.R
accumulate_unit_with_rows.RdEquivalent to tma's accumulate_network() but without R-env-var setup. The decay function receives a distance vector (response=0, older rows have larger values) and returns a weight vector of the same length.