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

Represents the trace of a matrix function.

Template parameters
Operand Type of operand

Represents the trace of a matrix valued operand:

\[ \mathrm{tr} \left( \mathrm{Operand} \right) \]

where Operand represents a matrix valued function $ A : \Omega \rightarrow \mathbb{R}^{n \times n} $ and its trace $ \mathrm{tr} $ is defined by:

\[ \mathrm{tr}(A) = \sum_{i = 1}^n A_{ii} \ . \]