ProjResidualInfoOp

class probnum.linalg.solvers.information_ops.ProjResidualInfoOp

Bases: probnum.linalg.solvers.information_ops.LinearSolverInfoOp

Projected residual \(s_i \mapsto s_i^\top (A x_i-b)\) of the linear system.

Obtain information about a linear system by projecting the current residual \(r_i = A x_i - b\) onto a given action \(s_i\) resulting in \(y_i = s_i^\top r_i\).

Methods Summary

__call__(solver_state)

Projected residual \(s_i^\top (A x_i - b)\) of the linear system.

Methods Documentation

__call__(solver_state)[source]

Projected residual \(s_i^\top (A x_i - b)\) of the linear system.

Parameters

solver_state (ProbabilisticLinearSolverState) – Current state of the linear solver.

Return type

ndarray