SciPy

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