std::tuple< Tensor< 2 >, Tensor< 2 > > syten::Eigen::eigenSym | ( | Tensor< 2 > | in, |
SourceLocation | location = SourceLocation::current() |
||
) |
Decomposes the tensor in
into a tuple [u, d]
such that u·d·conj(u)
is in
.
References std::clock(), std::chrono::duration::count(), syten::Tensor< rank >::dirs, syten::hasCGC(), syten::makeIdentity(), std::move(), std::chrono::high_resolution_clock::now(), syten::Tensor< rank >::size(), SYTEN_ASSERT_MSG, syten::EnvVars::tensor_time, syten::MemoryUsage::totalSize(), and syten::transpose().
Referenced by syten::MPS::SymConv::SU2::Converter_SU2U1::decompose(), syten::MPS::Snapshots::Workspace::decompose_sso(), syten::STensorImpl::eigen_sym(), syten::IPEPS::gauge_fix(), and syten::Pyten::init_tensor_decomp().