template<class Scalar, class Derived>
MatrixFunctionBase class
Base class for matrix-valued functions defined on a mesh.
Base classes
-
template<class Derived>class FunctionBase<MatrixFunctionBase<Scalar, Derived>>
- Base class for function objects which can be evaluated over a mesh.
Public functions
- auto getRows() const -> size_t constexpr
- Gets the number of rows in the matrix.
- auto getColumns() const -> size_t constexpr
- Gets the number of columns in the matrix.
- auto copy() const -> MatrixFunctionBase* override noexcept
- Copies the object and returns a non-owning pointer to the copied object.
Function documentation
template<class Scalar, class Derived>
size_t Rodin:: Variational:: MatrixFunctionBase<Scalar, Derived>:: getRows() const constexpr
Gets the number of rows in the matrix.
Returns | Number of rows |
---|
template<class Scalar, class Derived>
size_t Rodin:: Variational:: MatrixFunctionBase<Scalar, Derived>:: getColumns() const constexpr
Gets the number of columns in the matrix.
Returns | Number of columns |
---|
template<class Scalar, class Derived>
MatrixFunctionBase* Rodin:: Variational:: MatrixFunctionBase<Scalar, Derived>:: 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. |
---|