The question itself is pretty simple. I am running into confusion. Seems like there is a typo in the book. I wanna check myself. Maybe I am doing something wrong.
Suppose we have the function (which I term full hessian): $$ w=\sum_{i,j}f_if_{ij}f_j $$ with $$ i,j=x,y,z $$ where $f_{ij}$ and $f_i$ means partial derivatives with respect to $i$ and $j$, and $i$, respectively.
How do I write $w$ for some function $\rho(r)$ expressed in spherical coordinates? Note that $\rho$ is independent of $\phi$ and $\theta$.
Let's take $\rho(r)=e^{-ar}$ as an example.
Thanks in advance:)