scipy.sparse.dia_matrix.

tanh#

dia_matrix.tanh()[原始碼]#

逐元素 tanh。

參見 numpy.tanh 以取得更多資訊。