You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# flag : int
# Graph type. 0: undirected graph (default)
# **1: directed graph in degree**
# **2: directed graph out degree**
# 3: directed graph in and out degree
Notice that they use different flag. And for py version, it transposes connection matrix for OUT DEGREE.
I look up the code and found we use NP.SUM AXIS=1 which means it applies row-wise summation, so it's made for OUT DEGREE, so maybe do not need transposition?
The text was updated successfully, but these errors were encountered:
Here is the MATLAB version comments:
This is bctpy version:
Notice that they use different flag. And for py version, it transposes connection matrix for OUT DEGREE.
I look up the code and found we use NP.SUM AXIS=1 which means it applies row-wise summation, so it's made for OUT DEGREE, so maybe do not need transposition?
The text was updated successfully, but these errors were encountered: