void syten::Tensor< rank >::add | ( | TensorBlock< rank > && | t | ) |
Adds a block to the tensor.
Checks all existing blocks if they are parallel to the new block and if so, adds the non-parallel component of the new to the old block. Otherwise simply appends the TensorBlock to the end.
Referenced by syten::MPS::SymConv::SU2::Converter_SU2U1::back_cast(), syten::MPS::SymConv::SU2::Converter_SU2U1::cast(), syten::MPS::Lat::Nil::genBosonLattice(), syten::MPS::Lat::U1::genBosonLattice(), syten::MPS::Lat::U1U1::genFermiBoseLattice(), syten::MPS::Lat::U1U1::genFermiHubbardAngularMomentum(), syten::MPS::Lat::SU2U1Z::genFermiHubbardKNS(), syten::MPS::Lat::SU2Fermion::genFermiHubbardSU2(), syten::MPS::Lat::Nil::genFermiLattice(), syten::MPS::Lat::U1::genFermiLattice(), syten::MPS::Lat::GCE::U1::genSpinLattice(), syten::MPS::Lat::Nil::genSpinLattice(), syten::MPS::Lat::U1::genSpinLattice(), syten::IPEPS::Lat::Nil::genSpinLattice(), syten::IPEPS::Lat::Z2::genSpinLattice(), syten::MPS::Lat::U1U1::gentJ(), and syten::MPS::Operator::project().