SciPy

This is documentation for an old release of SciPy (version 1.4.1). Read this page in the documentation of the latest stable release (version 1.16.2).

scipy.sparse.dia_matrix.asfptype

dia_matrix.asfptype(self)[source]

Upcast matrix to a floating point format (if necessary)

Previous topic

scipy.sparse.dia_matrix.asformat

Next topic

scipy.sparse.dia_matrix.astype