scipy.sparse.dok_matrix.setdiag =============================== .. currentmodule:: scipy.sparse .. automethod:: dok_matrix.setdiag