def jdegree_id(cmatrix): """ Given a joint degree distribution matrix, returns the number of nodes with in-degree > out-degree. """ m = bct.to_gslm(cmatrix.tolist()) val = bct.jdegree_id(m) bct.gsl_free(m) return val
def jdegree_id(*args): return _bct.jdegree_id(*args)
def jdegree_id(*args): """jdegree_id(gsl_matrix J) -> int""" return _bct.jdegree_id(*args)