42#ifndef BELOS_LSQR_ITERATION_HPP
43#define BELOS_LSQR_ITERATION_HPP
64 template <
class ScalarType,
class MV>
68 Teuchos::RCP<const MV>
U;
71 Teuchos::RCP<const MV>
V;
74 Teuchos::RCP<const MV>
W;
77 typename Teuchos::ScalarTraits<ScalarType>::magnitudeType
lambda;
Belos header file which uses auto-configuration information to include necessary C++ headers.
Pure virtual base class which describes the basic interface to the linear solver iteration.
Collection of types and exceptions used within the Belos solvers.
BelosError(const std::string &what_arg)
LSQRIterateFailure(const std::string &what_arg)
ScalarType sol_norm
An estimate of the norm of the solution.
ScalarType frob_mat_norm
An approximation to the Frobenius norm of A.
Teuchos::RCP< const MV > V
Bidiagonalization vector.
ScalarType mat_resid_norm
An estimate of the norm of A^T*resid.
Teuchos::RCP< const MV > U
Bidiagonalization vector.
Teuchos::RCP< const MV > W
The search direction vector.
Teuchos::ScalarTraits< ScalarType >::magnitudeType lambda
The damping value.
ScalarType bnorm
The norm of the RHS vector b.
ScalarType resid_norm
The current residual norm.
ScalarType mat_cond_num
An approximation to the condition number of A.