SciPy

scipy.sparse.dia_matrix.expm1

dia_matrix.expm1()[source]

Element-wise expm1.

See numpy.expm1 for more information.