Part of me is afraid that this isn't a well-formed question, but try as I might, I can't seem to figure out anything reasonable on this topic. I'm hoping someone here can help.
In functional analysis, one defines the Schwartz space (on $\mathbb{R}^n$, say) as the collection of all smooth functions whose derivatives decay "rapidly" (in the very precise sense given, e.g., on Wikipedia). Over at the nLab (http://ncatlab.org/nlab/show/Schwartz+space), they have what appears to be a more general definition:
In functional analysis, a Schwartz space is a locally convex topological vector space $E$ with the property that whenever $U$ is an absolutely convex neighbourhood of $0$ then it contains another, say $V$, such that $U$ maps to a precompact set in the normed vector space $E_V$.
For the record, I'm an expert on neither of these spaces; however, my naive intuition seems to suggest that the nLab space is somehow "less concrete" than the typical definition involving rapidly-decreasing derivatives. I am unable to seek out more understanding on this, however, because no reference is given at nLab.
So are these notions of Schwartz spaces related? Are they the same? Is there any literature that mentions the nLab definition?
Any insight would be much appreciated.