scipy.sparse.spmatrix.

asfptype#

spmatrix.asfptype()[source]#

如有必要,将矩阵向上转换为浮点格式