void syten::MPS::LBOState::resize | ( | Index const | new_size | ) |
Resizes the number of sites to new_size
.
If new_size
is larger than the current size s
, the first s
sites of the LBOState after the resize will be occupied by the same tensors as before. Otherwise, the last s-new_size
tensors are destroyed.
References data_m, and data_v.
Referenced by LBOState(), and syten::MPS::DMRG::LBOPDMRG::saveState().