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