adj_sum_partition_sp: Sum within-partition weights of sparse adjacency matrix

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Sum within-partition weights of sparse adjacency matrix

Usage

1

Arguments

x

adjacency matrix (may be weighted)

p

integer vector indicating the partition membership of each node

Value

returns the sum of the within-partition elements


baruuum/btoolbox documentation built on Aug. 17, 2020, 1:29 a.m.