"""Base class for linear solver information operators."""
import abc
import numpy as np
import probnum # pylint: disable="unused-import"
class LinearSolverInformationOp(abc.ABC):
r"""Information operator of a (probabilistic) linear solver.
For a given action, the information operator collects information about the
linear system to be solved.
See Also
--------
MatVecInformationOp: Collect information via matrix-vector multiplication.
ProjectedResidualInformationOp: Collect information via a projection of the
current residual.
"""