SyTen

◆ diagonal()

Vec< SDef > syten::diagonal ( Tensor< 2 > const &  m,
bool const  order 
)

Returns a vector of diagonal values, repeated according to the multiplicities of the tensor blocks.

References std::vector< T >::begin(), std::vector< T >::end(), syten::IPEPS::mult(), std::vector< T >::push_back(), and std::sort().

Referenced by syten::IPEPS::cond_number(), syten::IPEPSv2::full_update_cond_num(), syten::IPEPSv2::CornerTransferMatrix::grow_helper(), syten::IPEPS::horizontal_simple_update(), syten::Pyten::init_tensor(), pseudo_invert(), syten::MPS::schmidt_values(), syten::IPEPS::vertical_simple_update(), and syten::IPEPS::vertical_simple_update_remover().

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