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