Returns a matrix M with M[i,j] is the resistance between nodes i and j.
M
M[i,j]
i
j
Wu(L)
Laplacian conductance matrix
Returns a matrix of the same size as L, but whose elements are the effective resistance between the nodes.
L
Evaluates Wu's resistance matrix, as per his theorem on page 6656.
F. Y. Wu, 2004. “Theory of resistor networks: the two point resistance”, Journal of Physics A, volume 37, pp6653-6673
resistance
# NOT RUN { Wu(cube()) Wu(cube())[1,2] - resistance(cube(),1,2) Wu(series(1:7)) # observe how resistance between, say, nodes 2 # and 5 is 9 (=2+3+4) # }
Run the code above in your browser using DataLab