scipy.sparse.dia_matrix.

rint#

dia_matrix.rint()[source]#

Element-wise rint. See numpy.rint for more information.

Returns:
rintsparse array / matrix

Result of applying numpy.rint to the data of this sparse matrix.