The EigenSolver struct solves matrices for their eigenvalues and eigenvectors. More...
#include <classic_krylov.h>
Public Types | |
using | Vector = typename Solver::Vector_type |
The vector type of the calling solver. More... | |
Public Member Functions | |
template<typename MatrixScalar , typename Vectors > | |
void | finalizeSolution (Solver const &, IterativeConfig const &, std::pair< DenseTensor< 2, MatrixScalar >, Vectors > &&mat_v, SRDef, SRDef &, Vector &vec) const |
Calculates the solution once convergence is reached, reusing the previously-calculated coefficients. More... | |
template<typename MatrixScalar , typename Vectors > | |
SRDef | solveForConvergence (Solver const &global_solver, IterativeConfig const &conf, std::pair< DenseTensor< 2, MatrixScalar >, Vectors > &&mat_v, SRDef, SRDef &eval, Vector &vec) |
operator () solve the eigen problem, compute error to previous solution More... | |
Private Attributes | |
DenseTensor< 1, SDef > | prev_coeffs |
Coefficient tensor from previous call. More... | |
SRDef | prev_norm {NAN} |
Norm of previous solution. More... | |
The EigenSolver struct solves matrices for their eigenvalues and eigenvectors.