Trace

Represents the trace of a matrix function.

template <
  class Operand>
class Trace;

Specializations

SpecializationDescription
FunctionBase<NestedDerived>
Full specialization
template <
  class NestedDerived>
class Trace<
  FunctionBase< NestedDerived >> final;
Trace of a FunctionBase instance.
ShapeFunctionBase<NestedDerived, …>
Full specialization
template <
  class NestedDerived,
  class FES,
  ShapeFunctionSpaceType Space>
class Trace<
  ShapeFunctionBase< NestedDerived, FES, Space >> final;
Trace of a shape 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} \ . \]