Linear Algebra Routines
mmfutils.math.linalg.
block_diag
Create a new diagonal matrix from the provided arrays.
b, c, .. (a,) – Input arrays.
D – Array with a, b, c, … on the diagonal.
ndarray
Examples