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