In transform theory we join linear algebra with analysis by defining scalar products for real valued functions with weighted integrals of products, for example:
$$\langle f,g\rangle_w = \int_{-\infty}^{\infty} w(t)f(t)g(t)dt$$
And in multiple dimensions as multivariate integrals:
$$\langle f,g\rangle_w = \int\cdots\int_{-\infty}^{\infty} w(t_1,\cdots,t_k)f(t_1,\cdots,t_k)g(t_1,\cdots,t_k)dt_1 \cdots dt_k$$
To my question, does there exist other ways to define inner products for families of real valued functions?
In terms of interesting and useful examples, I think the $L^2$ Sobolev norms are important: one approach to the definition/characterization of $H^k[a,b]$ for interval $[a,b]$ (for example) with non-negative integer $k$, is as the completion of $C^\infty[a,b]$ with respect to the $H^k$ norm (-squared) $$ |f|^2_{H^k} \;=\; |f|^2_{L^2} + |f'|^2_{L^2} + \ldots + |f^{(k)}|^2_{L^2} $$ The opposite definition/characterization is as distributions $f$ whose first $k$ derivatives are in $L^2$. It is obviously important to understand that these two characterizations give the same thing. :)
And these are not just definitions for the sake of definitions, but very useful ideas in solving differential equations, and other applications (even in number theory, in my own experience).
As @Mars reasonably commented/inquired: how to see that the $H^k$ norms are not topologically equivalent to some cleverly weighted $L^2$ space? Not responding quite the most directly, but perhaps more conceptually: the Sobolev imbedding/inequality proves that (e.g., on a one-dimensional interval) $H^1$ is contained in $C^o$. We can prove that no weighted $L^2$ space is contained in $C^o$... (though, yes, this is not an entirely typical exercise...)