Let $T>0$ and let $\mathbb{T}=\mathbb{R}\setminus\mathbb{Z}=[0,1)$ be the one dimensional continuous torus.
I know for a fact that if $\psi_k(u)=e^{2 \pi i k u}$, then $\{\psi_k(u): k \in \mathbb{N}_0\}$ is an orthonormal basis for $\mathcal{L}^2(\mathbb{T})$ with inner product $\langle f,g \rangle= \int_{\mathbb{T}} f(u) \overline{g(u)} \ du$, where $ \overline{g(u)} $ is the conjugate of $g(u)$.
I want to find an orthonormal basis for $\mathcal{L}^2([0,T] \times \mathbb{T})$.
I would say that the basis would be $\{\psi_k(t,u)=e^{2 \pi i k (t+u)}: t \in [0,T] \text{ and }k \in \mathbb{N}_0\}$. However, I don't know what would be the inner product and how I would prove it (I probably have to divide by $T$ and integrate twice, but I'm not sure)
Does anybody know how to do it? If possible, I would like you to refer me to a book where this is done.