SyTen
syten::Krylov::ClassicImpl::EigenSolver< Solver > Struct Template Reference

The EigenSolver struct solves matrices for their eigenvalues and eigenvectors. More...

#include <classic_krylov.h>

+ Collaboration diagram for syten::Krylov::ClassicImpl::EigenSolver< Solver >:

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 ([[maybe_unused]] Solver const &global_solver, [[maybe_unused]] IterativeConfig const &conf, std::pair< DenseTensor< 2, MatrixScalar >, Vectors > &&mat_v, SRDef, SRDef &eval, [[maybe_unused]] Vector &vec)
 operator () solve the eigen problem, compute error to previous solution More...
 

Private Attributes

DenseTensor< 1, SDefprev_coeffs
 Coefficient tensor from previous call. More...
 
SRDef prev_norm {NAN}
 Norm of previous solution. More...
 

Detailed Description

template<typename Solver>
struct syten::Krylov::ClassicImpl::EigenSolver< Solver >

The EigenSolver struct solves matrices for their eigenvalues and eigenvectors.


The documentation for this struct was generated from the following file: