ProjectedResidualInformationOp

class probnum.linalg.solvers.information_ops.ProjectedResidualInformationOp

Bases: LinearSolverInformationOp

Projected residual information operator.

Obtain information about a linear system by projecting the residual \(b-Ax_{i-1}\) onto a given action \(s_i\) resulting in \(s_i \mapsto s_i^\top r_{i-1} = s_i^\top (b - A x_{i-1}) = s_i^\top A (x - x_{i-1})\).

Methods Summary

__call__(solver_state)

Projected residual \(s_i^\top r_{i-1} = s_i^\top (b - A x_{i-1})\) of the linear system.

Methods Documentation

__call__(solver_state)[source]

Projected residual \(s_i^\top r_{i-1} = s_i^\top (b - A x_{i-1})\) of the linear system.

Parameters

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

Return type

ndarray