Equip with counting measure . For a nonnegative function , define
This lies in and agrees with the series as a Lebesgue integral against counting measure.
For , define
when is integrable, which here means
Thus the complex sum is defined under absolute convergence and can be obtained by integrating the real and imaginary parts.
A simple function on is a function with finite range, equivalently
for a finite measurable partition by subsets . Its nonnegative sum is . It is finite exactly when every level set with is finite, equivalently when has finite support after its zero level is discarded.