scipy.sparse
scipy.sparse.csc_matrix.setdiag
scipy.sparse.csc_matrix.sin
csc_matrix.
sign
Element-wise sign.
See numpy.sign for more information.