SciPy
Installing
User Guide
API reference
Building from source
Development
Release notes
GitHub
Twitter
On this page
dok_matrix.clear
scipy.sparse.dok_matrix.clear
¶
dok_matrix.
clear
(
)
→
None.
Remove
all
items
from
D.
[source]
¶