# GenericLinearOperator¶

class dolfin.cpp.la.GenericLinearOperator(*args, **kwargs)

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.

mult()

Compute matrix-vector product y = Ax

size()

Return size of given dimension

thisown

The membership flag