Element-wise tanh.
See numpy.tanh for more information.
scipy.sparse.bsr_matrix.tan
scipy.sparse.bsr_matrix.toarray