SciPy

scipy.sparse.csc_matrix.sign

csc_matrix.sign(self)[source]

Element-wise sign.

See numpy.sign for more information.

Previous topic

scipy.sparse.csc_matrix.setdiag

Next topic

scipy.sparse.csc_matrix.sin