Wu {ResistorArray}R Documentation

Wu's resistance matrix

Description

Returns a matrix M with M[i,j] is the resistance between nodes i and j.

Usage

Wu(L)

Arguments

L

Laplacian conductance matrix

Details

Evaluates Wu's resistance matrix, as per his theorem on page 6656.

Value

Returns a matrix of the same size as L, but whose elements are the effective resistance between the nodes.

Note

In the function, the sum is not from 2 to n as in Wu, but from 1 to n-1, because eigen() orders the eigenvalues from largest to smallest, not smallest to largest.

Author(s)

Robin K. S. Hankin

References

F. Y. Wu, 2004. “Theory of resistor networks: the two point resistance”, Journal of Physics A, volume 37, pp6653-6673

See Also

resistance

Examples


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)


[Package ResistorArray version 1.0-32 Index]