trunc — SciPy v1.15.2 Manual (original) (raw)

scipy.sparse.csr_matrix.

csr_matrix.trunc()[source]#

Element-wise trunc.

See numpy.trunc for more information.