discretize.utils.sdiag

discretize.utils.sdiag(h)[source]

Sparse diagonal matrix