I'm reading this book and on page 104 they define:
Afterwards they said that if $m=1$, the function $f$ is real-valued and $T$ is the gradient which has to be a linear functional according to the definition.
The problem is this is not true in general, see for example:
$f:\mathbb R^2\to \mathbb R$ defined as $f(x,y)=\sin x$. The gradient is $\nabla f=(\cos x,0)$ which is not a linear functional.


The gradient of $f$ is not lienar, but the gradient operator is linear.
i.e., $\nabla(f+g)=\nabla f+\nabla g$ and $\nabla cf =c\nabla f$