scipy.sparse.dia_matrix.

asfptype#

dia_matrix.asfptype()[源代码]#

将矩阵向上转换为浮点格式(如果必要)