clear — SciPy v1.15.3 Manual (original) (raw)

scipy.sparse.dok_matrix.

dok_matrix.clear() → None. Remove all items from D.[source]#