Gradient

The gradient of a scalar field is a vector field that points in the direction of the greatest rate of increase of . The magnitude of the gradient is the rate of increase in that direction.

Grad takes in a scalar and returns a vector.

Info

… gradient with respect to parameters