SciPy

scipy.sparse.dok_matrix.multiply

dok_matrix.multiply(other)[source]

Point-wise multiplication by another matrix