SyTen

◆ transpose_exchange() [3/3]

template<Rank rank>
void syten::transpose_exchange ( Tensor< rank > &  m,
std::array< Index, 2 > const  axes,
bool const  conjugate = false 
)
inline

Transposes the specified legs of the tensor.

Parameters
mtensor of which we transpose the legs
axes1-indexed legs to transpose
conjugateif true, conjugate all elements

References std::move(), std::swap(), std::swap_ranges(), SYTEN_ASSERT_DEBUG, and transpose_exchange().

+ Here is the call graph for this function: