A gradient in the context of mathematics and physics is a vector that points in the direction of the greatest rate of increase of a function, and its magnitude is the rate of change of the function in that direction.
a) Magnitude
b) Direction
c) Both magnitude and direction
d) None of the above