SciPy

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

scipy.sparse.coo_matrix.sign

coo_matrix.sign(self)[source]

Element-wise sign.

See numpy.sign for more information.

Previous topic

scipy.sparse.coo_matrix.setdiag

Next topic

scipy.sparse.coo_matrix.sin