powered by
Returns the conductance matrix of an n-dimensional hypercube
hypercube(n)
Returns a conductance matrix
Integer giving the dimension of the hypercube
Robin K. S. Hankin
The row and columnnames give the coordinates of each node (which are in binary order)
http://f2.org/maths/resnet/
cube
hypercube(4) resistance(hypercube(5),1,32) # cf exact answer of 8/15 resistance(hypercube(5),1,2) # cf exact answer of n <- 5; (2^n-1)/(n*2^(n-1))=31/80
Run the code above in your browser using DataLab