Example #1
0
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
Example #2
0
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
Example #3
0
def jdegree_id(*args):
  return _bct.jdegree_id(*args)
Example #4
0
def jdegree_id(*args):
    return _bct.jdegree_id(*args)
Example #5
0
def jdegree_id(*args):
  """jdegree_id(gsl_matrix J) -> int"""
  return _bct.jdegree_id(*args)
Example #6
0
def jdegree_id(*args):
    """jdegree_id(gsl_matrix J) -> int"""
    return _bct.jdegree_id(*args)