SciPy
dia_matrix.tanh
Element-wise tanh.
See numpy.tanh for more information.
numpy.tanh
previous
scipy.sparse.dia_matrix.tan
next
scipy.sparse.dia_matrix.toarray