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