On $\mathbb{R}$, we define the Schwartz class functions as infinitely differentiable functions such that
$$ \lim\limits_{|x|\to \infty} | x^{m}f^{(n)}(x) | = 0 $$
for all $m, n \in \mathbb{N}$ and $f^{(n)}$ denotes the $n^{th}$ derivative of $f$.
However, I was asked to define Schwartz class on integers, and I came up with the following:
$$ \mathcal{S}(\mathbb{Z}) = \{ f : \mathbb{Z} \to \mathbb{C} \;\; | \;\; \lim\limits_{|n| \to \infty} n^{k}f(n) = 0 \;\; \forall\,\, k \in \mathbb{N} \}$$
The first examples that come to my mind are the restrictions of Schwartz functions on $\mathbb{R}$ to $\mathbb{Z}$. For example, $f(n) = e^{-n^{2}}$ being the restriction of the Gaussian function.
I was wondering if the converse is true. That is, given a function in $\mathcal{S}(\mathbb{Z})$, can it be extended to a function in $\mathcal{S}(\mathbb{R})$?
I was thinking that we could smoothly interpolate the function in between the integers, where it is already defined. The question remains about the rapid decay of this function. However, since original function goes to zero rather faster, I expect this to go to zero fast enough as well, since the slopes cannot change erratically in this case.
So, is the statement true? And if so, what is the justification?