GenericLinearOperator.h

Note

The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.

class GenericLinearOperator

Parent class(es)

This class defines a common interface for linear operators, including actual matrices (class GenericMatrix) and linear operators only defined in terms of their action on vectors.

This class is used internally by DOLFIN to define a class hierarchy of backend independent linear operators and solvers. Users should not interface to this class directly but instead use the LinearOperator class.

std::size_t size(std::size_t dim) const = 0

Return size of given dimension

void mult(const GenericVector &x, GenericVector &y) const = 0

Compute matrix-vector product y = Ax

std::string str(bool verbose) const = 0

Return informal string representation (pretty-print)