SciPy

scipy.sparse.csc_matrix.tanh

csc_matrix.tanh()[source]

Element-wise tanh.

See numpy.tanh for more information.