Ok so I know from my previous question that it is straightforward to evaluate a dirac delta $\delta(x - n)$ expression when the function $f$ is also a function of $n$, that is $f = f(x, n)$.
What I really want to evaluate is a more complicated expression involving vectors in $\mathbb{R}^3$.
$$\int_{\mathbb{R}^3} \sum_{n \in \mathbb{Z}^3}\delta(x - n) \bigg(x_1 + x_3 n_2||n + x||\bigg) dx.$$
So this is essentially:
$$\int_{\mathbb{R}^3} \sum_{n \in \mathbb{Z}^3}\delta(x - n) f(x, n) dx$$
with
$$ f(x,n) = x_1 + x_3 n_2||n + x||.$$
So can we do the following? $$\int_{\mathbb{R}^3} \sum_{n \in \mathbb{Z}^3}\delta(x - n) \bigg(x_1 + x_3 n_2||n + x||\bigg) dx = \sum_{n \in \mathbb{Z}^3} n_1 + n_3 n_2||2n||.$$
Basically do we get to drop the integral and replace the components of $x \in \mathbb{R}^3$ with $n \in \mathbb{R}^3$?