gneiss.util.
block_diagonal
Generate block diagonal with uniformly distributed values within blocks.
Note
The number of blocks specified by nblocks needs to be greater than 1.
gneiss.util