I am currently learning quantum mechanics and there is one typical scenario i encounter in my physics books:
Suppose $\mathcal{H}$ is a Hilbert space and $A: \operatorname{Dom}(A)\to \mathcal{H}$ is a (linear) operator, $Dom(A)\subseteq\mathcal{H}$. In addition, let $\mathcal{B}:=\{v_n: n \in\mathbb{N}\}$ be a set of eigenvectors of $A$: $A(v_n)=\lambda_nv_n$.
If there is a $v \in \operatorname{Dom}(A)$ and a sequence of coefficients $(c_n)_{n \in\mathbb{N}}$ with $v=\sum\limits_{n=1}^{\infty}c_nv_n$, then the authors write $A(v)=A(\sum\limits_{n=1}^{\infty}c_nv_n)=\sum\limits_{n=1}^{\infty}c_nA(v_n)=\sum\limits_{n=1}^{\infty}(c_n\lambda_n)v_n$.
From what i know, A is not continuous in general, but this is a special case of the spectral theorem. I think that a physicist would write $A=\sum\limits_{n=1}^{\infty}|v_n\rangle\langle v_n|$ and call this the spectral theorem for the discrete case. The problem is that when looking into a math book about the spectral theorem, i see a lot of integrals and things get very complicated. So it would be nice if someone could explain this special case of the spectral theorem (its requirements and statements), or suggest a good source.