scipy.sparse.dia_array.
dia_array.tanh()[source]#
Element-wise tanh.
See numpy.tanh for more information.