-
Notifications
You must be signed in to change notification settings - Fork 66
Preferred variable names
QLutz edited this page Jun 16, 2020
·
1 revision
Common names include:
-
adjacency
for square adjacency matrices of graphs -
biadjacency
for rectangular biadjacency matrices of bipartite graphs -
n = adjacency.shape[0]
for the number of nodes of the graph under study -
n_row, n_col = biadjacency.shape
for the number of nodes in each of the two sets of nodes of the bipartite graph under study. -
i
(respectivelyj
) should be preferred when iterating over the rows (respectively the columns) of some matrix.