SyTen

◆ transpose_exchange() [1/3]

template<Rank rank, typename Scalar >
DenseTensor<rank, Scalar> syten::transpose_exchange ( DenseTensor< rank, Scalar > const &  a,
ConstSpan< Index > const &  axes,
Conj  conjugate = Conj::n() 
)

Transposes two axes of a dense tensor using DenseIter objects.

Deprecated:
This function is old and slow, do not use it.

References conj(), syten::DenseTensor< rank, Scalar >::getDims(), rank(), std::swap(), and SYTEN_ASSERT_DEBUG.

Referenced by syten::MPS::dot(), syten::MPS::expectation(), syten::IPEPS::FullCTM::init_vac(), syten::MPS::mpo_cmp_dot_prod(), syten::MPS::right_complement(), syten::MPS::DMRG::Worker::solveLocal(), syten::MPS::DMRG::Worker::sync(), and transpose_exchange().

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