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