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