SyTen

◆ insertDummy() [1/4]

template<Rank rank, typename Scalar >
DenseTensor< rank+1, Scalar > syten::insertDummy ( DenseTensor< rank, Scalar > const &  in,
Index  which 
)

Inserts an additional dummy leg as the one-indexed which dense tensor leg.

References syten::DenseTensor< rank, Scalar >::dims, syten::DenseTensor< rank, Scalar >::get_data(), and insertDummy().

Referenced by syten::STensorImpl::add_dummy_leg(), syten::MPS::Lat::SU3::genSpinLattice(), insertDummy(), and syten::IPEPS::Lattice::Lattice().

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