scipy.sparse.dia_matrix.

trunc#

dia_matrix.trunc()[source]#

逐元素截斷。

請參閱 numpy.trunc 以取得更多資訊。