SciPy

scipy.sparse.dia_matrix.floor

dia_matrix.floor()[source]

Element-wise floor.

See numpy.floor for more information.