For any given integers $m,n\geq1$, let $\mathbb{R}[x_1,\cdots,x_n]_m$ be the vector space of homogeneous polynomials of degree $m$ in $x_1,\cdots,x_n$ over the field of real numbers $\mathbb{R}$. Denote by $\mathbb{N}^n_m$ the following set $$\mathbb{N}^n_m=\{(a_1,\cdots,a_n)\in \mathbb{Z}^n:a_1,\cdots,a_n\geq0,\ a_1+\cdots+a_n=m\}.$$ For any $a=(a_1,\cdots,a_n)\in \mathbb{N}^n_m$, denote by $x^a$ the monomial $$x^a=x_1^{a_1}\cdots x_n^{a_n}.$$ It is clear that $x^a$ with $a\in \mathbb{N}^n_m$ form a basis of the vector space $\mathbb{R}[x_1,\cdots,x_n]_m$.
Define an inner product $\langle\cdot,\cdot\rangle$ on $\mathbb{R}[x_1,\cdots,x_n]_m$ such that for any $a=(a_1,\cdots,a_n),b=(b_1,\cdots,b_n)\in \mathbb{N}^n_m$, $$\langle x^a,x^b\rangle=\left\{ \begin{aligned} &0& a\neq b\\ &a_1!\cdots a_n!\ \ & a=b \end{aligned} \right.$$ For any $f(x_1,\cdots,x_n),g(x_1,\cdots,x_n)\in \mathbb{R}[x_1,\cdots,x_n]_m$, a general expression of $\langle f,g\rangle$ I can think out is as follow: $$\langle f,g\rangle=\int_0^{\infty}\cdots\int_0^{\infty}\int_0^{2\pi}\cdots\int_0^{2\pi}e^{-(x_1+\cdots+x_n)} f(\frac{x_1}{e^{i\theta_1}},\cdots,\frac{x_n}{e^{i\theta_n}})g(e^{i\theta_1},\cdots,e^{i\theta_n})dx_1\cdots dx_nd\theta_1\cdots d\theta_n.$$ Is there any better integral expression of $\langle f,g\rangle$ not using complex integration, or is there any general expression of $\langle f,g\rangle$ not only confined to integral expression? Any idea is welcome!