template<class NestedDerived>
Rodin::Variational::Trace<FunctionBase<NestedDerived>> class final

Trace of a FunctionBase instance.

Base classes

template<class Derived>
class FunctionBase<Trace<FunctionBase<NestedDerived>>>
Base class for function objects which can be evaluated over a mesh.

Constructors, destructors, conversion operators

Trace(const OperandType& m) constexpr
Constructs the Trace of the given matrix.

Public functions

auto copy() const -> Trace* override noexcept
Copies the object and returns a non-owning pointer to the copied object.

Function documentation

template<class NestedDerived>
Rodin::Variational::Trace<FunctionBase<NestedDerived>><NestedDerived>::Trace(const OperandType& m) constexpr

Constructs the Trace of the given matrix.

Parameters
in Square matrix

template<class NestedDerived>
Trace* Rodin::Variational::Trace<FunctionBase<NestedDerived>><NestedDerived>::copy() const override noexcept

Copies the object and returns a non-owning pointer to the copied object.

Returns Non-owning pointer to the copied object.