SciPy

scipy.sparse.dia_matrix.log1p

dia_matrix.log1p()[source]

Element-wise log1p.

See numpy.log1p for more information.