template<>
Rodin::Variational::ComplexFunction<Complex> class final

Represents a constant scalar function with type Complex.

Base classes

template<class Derived>
class ComplexFunctionBase<ComplexFunction<Complex>>
Base class for scalar-valued functions defined on a mesh.

Constructors, destructors, conversion operators

ComplexFunction(const Complex& x)
Constructs a ComplexFunction from a constant scalar value.

Public functions

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

Function documentation

template<>
Rodin::Variational::ComplexFunction<Complex>::ComplexFunction(const Complex& x)

Constructs a ComplexFunction from a constant scalar value.

Parameters
in Constant scalar value

template<>
ComplexFunction* Rodin::Variational::ComplexFunction<Complex>::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.