SciPy

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

scipy.sparse.csr_matrix.sign

csr_matrix.sign()[source]

Element-wise sign.

See numpy.sign for more information.

Previous topic

scipy.sparse.csr_matrix.setdiag

Next topic

scipy.sparse.csr_matrix.sin