SyTen

◆ H_eff()

template<typename Mat , typename Vec >
DenseTensor<2, SDef> syten::Krylov::TensorNetworksImpl::HEffTridiagExpectation::H_eff ( Mat const &  m,
std::vector< Vec > const &  v 
)
inline

Calculate all new coefficients and return the new tridiagonal matrix.

Template Parameters
Mattype of the full matrix
Vectype of the full vector
Parameters
mfull matrix
vset of Krylov vectors
Returns
the matrix m projected into the Krylov space spanned by v with only the tridiagonal elements calculated and all others set to zero.

References a, b, std::vector< T >::back(), std::vector< T >::empty(), syten::IPEPS::expectation(), std::vector< T >::front(), std::vector< T >::push_back(), syten::real(), and std::vector< T >::size().

+ Here is the call graph for this function: