SciPy

scipy.sparse.bsr_matrix.rint

bsr_matrix.rint()[source]

Element-wise rint.

See numpy.rint for more information.