Let $f: [a,b]\times [c,d] \rightarrow \mathbb R$ be a smooth function of two variable (assuming that in boundary points $f$ has continuous one side partial derivatives).
Is a simple way to extend $f$ to a smooth function $F: \mathbb R \times \mathbb R \rightarrow \mathbb R$?