SyTen

◆ insertIOFullHalf()

template<Rank rank>
Tensor< rank > syten::insertIOFullHalf ( Tensor< rank > const &  in,
Index const  which 
)

Flips the which-th leg of the tensor in, product a new output tensor.

Contrary to insertIOSplitHalf, this function satisfies insertIOFullHalf(insertIOFullHalf(A,x),x)==A.

References genIINode(), genOONode(), syten::Tensor< rank >::getBasis(), Inc, and rank().

Referenced by syten::IPEPS::FullUpdate::apply_op(), syten::IPEPS::cond_number(), correct_cgc_tensors(), syten::IPEPS::Horz2CTM::expectation_value(), syten::IPEPS::Vert2CTM::expectation_value(), syten::IPEPS::gauge_fix(), syten::MPS::Lat::SU3::genSpinLattice(), get_coefficient(), syten::IPEPS::horizontal_simple_update(), syten::IPEPS::inv_qr_to_back_r(), syten::IPEPS::qr_to_front(), syten::IPEPS::qr_to_left(), syten::MPS::BasisTransformation::ModeTransformation::transform_accepted(), syten::MPS::BasisTransformation::ModeTransformation::transform_accepted_global(), 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: