template<class F>
Rodin::Variational::ScalarFunction<F> class final

Represents a scalar function given by an arbitrary scalar function.

Public functions

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

Function documentation

template<class F>
ScalarFunction* Rodin::Variational::ScalarFunction<F><F>::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.