The gradient of ff is the vector of partial derivatives as ∇f(𝐱)=[∂f∂x1(𝐱)⋮∂f∂xd(𝐱)]\nabla f(\mathbf{x}) = \begin{bmatrix}\frac{\partial f}{\partial x_1}(\mathbf{x})\\ \vdots \\\frac{\partial f}{\partial x_d} (\mathbf{x})\end{bmatrix}
Also see: Hessian matrix
References: