SyTen

◆ sp_result()

template<typename Vec >
auto syten::EnergyTruncation::EnergyTruncationPolicy::sp_result ( std::vector< Vec > const &  krylov,
Vec result,
SRDef  initial_norm,
bool const &  project_dense 
) const
inline

Calculates the result based on coefficients previously-calculated in sp_convergence().

References syten::abs(), syten::DenseTensor< rank, Scalar >::begin(), syten::DenseTensor< rank, Scalar >::dim(), std::distance(), syten::DenseTensor< rank, Scalar >::end(), std::vector< T >::front(), memoizedCoeffs, memoizedComplementaryCoeffs, memoizedMatrix, syten::norm(), syten::overlap(), and SYTEN_SMALL_THRESHOLD.

Referenced by syten::EnergyTruncation::Standard< Matrix, Vector, OrthoPolicy, EnergyTruncationPolicy >::apply_energy_truncation().

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