Suppose I have a function $f:\mathbb{R}^n \to \mathbb{R}$. The gradient $\nabla f$ of $f$ at $x$ is the vector in the domain of $f$ satisfying $$[Df(x)] h = \langle \nabla f, h \rangle$$ for all $h$. In this case, it must be that $\nabla f = [Df(x)]^T$, so it's easy to find the gradient by just taking the transpose of the $1 \times n$ Jacobian matrix.
However, what if I use some other non-standard inner product on $\mathbb{R}^n$? Will this change my gradients? Does it change the interpretation of the gradient as the direction of steepest ascent (or is it the same interpretation, but 'direction' is being measured according to a new inner product?). Can someone please give me an example?