The basic principle of m × n resistor networks*
Zhi-Zhong Tan,Zhen Tan
Figure 2. A nonregular cylindrical m × n resistor network, where n and m are the maximum coordinate value of (n, m), with the resistors r and r0 in the respective horizontal and vertical (loop) directions except for two arbitrary boundary resistors of r1 and r2.