GenericLinearOperator

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

Bases: dolfin.cpp.la.LinearAlgebraObject

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.

Friends: LinearOperator.

mult()

Compute matrix-vector product y = Ax.

Parameters:
Return type:

void

size()

Return size of given dimension.

Parameters:dim (std::size_t) –
Return type:std::size_t
thisown

The membership flag