I would like to take the first derivative of a norm like this. I got the answer, but I am here to double check. Thank you.
$$\frac{d}{dx'}\left\{\exp\left[-\frac{\|x'-x\|^2} \theta \right]\right\},$$ where $\theta$ is a constant. $x'$ and $x$ are $1 \times p$ row vector, respectively.