SyTen

◆ sp_convergence() [1/2]

SRDef syten::Krylov::SolverPolicies::Eigen::sp_convergence ( DenseTensor< 2, SDef mat,
SRDef evalue 
)
inline

Tests convergence by calculating the overlap between the last-iteration result and the current result.

Calculates coefficients, so has to be called before sp_result().

References syten::abs(), syten::conj(), syten::DenseTensor< rank, Scalar >::dim(), syten::DenseTensor< rank, Scalar >::dims, syten::DenseEigensolver::DenseSymEigensolverBase< Type >::evalues, syten::DenseEigensolver::DenseSymEigensolverBase< Type >::evectors, get_coeffs(), syten::isnan(), memoizedCoeffs, memoizedNorm, std::move(), syten::Krylov::norm(), syten::DenseTensor< rank, Scalar >::size(), and syten::vsplit().

Referenced by sp_convergence().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: