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