Convert square NumPy array to a single block diagonal array. Mimic of SciPy’s scipy.linalg.block_diag().
scipy.linalg.block_diag()
args (List[ndarray]) – Arbitrary number of square arrays.
List
ndarray