box

tenpy.linalg.random_matrix.box(size, W=1.0)[source]

return random number uniform in (-W, W].