scipy.sparse
dia_matrix.
tan
Element-wise tan.
See numpy.tan for more information.
scipy.sparse.dia_matrix.sum
scipy.sparse.dia_matrix.tanh