So let $n,m$ be two strictly positive numbers. Let $A\subseteq\mathbf{R}^n$ be a compact $C^{\infty}$-submanifold (possibly with boundary and of real dimension not necessarily equal to $n$). Let $f:A\rightarrow \mathbf{R}^m$ be a smooth function. Then is it always possible to extend $f$ in a smooth way to all of $\mathbf{R}^n$?
Is there a good textbooks where such extension results are discussed extensively?

