Home | History | Annotate | Download | only in linalg

Lines Matching refs:nodelist

24 def laplacian_matrix(G, nodelist=None, weight='weight'):
35 nodelist : list, optional
36 The rows and columns are ordered according to the nodes in nodelist.
37 If nodelist is None, then the ordering is produced by G.nodes().
59 if nodelist is None:
60 nodelist = G.nodes()
63 A = np.asarray(nx.to_numpy_matrix(G,nodelist=nodelist,weight=weight))
69 n = len(nodelist)
70 index = dict( (n,i) for i,n in enumerate(nodelist) )
72 for ui,u in enumerate(nodelist):
87 def normalized_laplacian_matrix(G, nodelist=None, weight='weight'):
104 nodelist : list, optional
105 The rows and columns are ordered according to the nodes in nodelist.
106 If nodelist is None, then the ordering is produced by G.nodes().
139 L = laplacian_matrix(G, nodelist=nodelist, weight=weight)
142 L = laplacian_matrix(G, nodelist=nodelist, weight=weight)
163 def directed_laplacian_matrix(G, nodelist=None, weight='weight',
186 nodelist : list, optional
187 The rows and columns are ordered according to the nodes in nodelist.
188 If nodelist is None, then the ordering is produced by G.nodes().
238 M = nx.to_numpy_matrix(G, nodelist=nodelist, weight=weight)