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().