In mathematics, a bump function (also called a test function) is a function f : R n → R {\displaystyle f:\mathbb {R} ^{n}\to \mathbb {R} } on a Euclidean space R n {\displaystyle \mathbb {R} ^{n}} which is both smooth (in the sense of having continuous derivatives of all orders) and compactly supported. The set of all bump functions with domain R n {\displaystyle \mathbb {R} ^{n}} forms a vector space, denoted C 0 ∞ ( R n ) {\displaystyle \mathrm {C} _{0}^{\infty }(\mathbb {R} ^{n})} or C c ∞ ( R n ) . {\displaystyle \mathrm {C} _{\mathrm {c} }^{\infty }(\mathbb {R} ^{n}).} The dual space of this space endowed with a suitable topology is the space of distributions.