template<class Operand>
Rodin::Variational::Grad class

Represents the gradient $ \nabla u $ of a scalar function $ u $ .

Template parameters
Operand Type of operand

Represents the mathematical expression:

\[ \nabla \text{Operand} \]

where Operand is a type representing a scalar function $ u : \mathbb{R}^n \rightarrow \mathbb{R} $ and the gradient $ \nabla u : \mathbb{R}^n \rightarrow \mathbb{R}^n $ at the point $ x = (x_1, \ldots, x_n) $ is defined by:

\[ \nabla u (x) = \left[ \dfrac{\partial u}{\partial x_1}(x), \ldots, \dfrac{\partial u}{\partial x_n}(x) \right]^T \]