powered by
Creates a sparse representation of multiple diagonal matrix
spdiags(A, d, m, n)
sparse diagonal matrix of class 'dgcMatrix'
matrix where columns correspond to the desired diagonals
indices of the diagonals to be filled in. 0 is main diagonal. -1 is first subdiagonal and +1 is first superdiagonal.
row dim
col dim