#include <gpr/linalg/linop/Krylov.h>
Classes | |
| struct | Quadratic |
Public Member Functions | |
| LanczosVarianceCache (const SymmetricOperator &K, const Eigen::VectorXd &start) | |
| Quadratic | quadraticDiagonal (const Eigen::MatrixXd &C, double tolerance, double lambda_min, double flop_budget) |
| Eigen::Index | steps () const noexcept |
Lanczos basis of K from one start vector, kept with full reorthogonalisation so that the cached quadratic forms c^T Q T^{-1} Q^T c are lower bounds on c^T K^{-1} c with a computable gap.
| gpr::linalg::linop::LanczosVarianceCache::LanczosVarianceCache | ( | const SymmetricOperator & | K, |
| const Eigen::VectorXd & | start ) |
Definition at line 199 of file Krylov.cpp.
|
nodiscard |
Extend the basis until every column's bound is below tolerance or the next step would exceed flop_budget. lambda_min is a lower bound on the smallest eigenvalue of K (the noise floor).
Definition at line 268 of file Krylov.cpp.
|
inlinenodiscardnoexcept |