lcapy.utils.split_dirac_delta
- lcapy.utils.split_dirac_delta(expr)
Return expression as a list of terms. The first term has no DiracDeltas, the second term collates the DiracDeltas, the third term collates derivatives of DiracDeltas, etc.
For example, u(t) + DiractDelta(t, 1) returns [u(t), 0, DiracDelta(t, 1)]