std::vector< std::vector< TensorBlock< rank > > > syten::TensorBlocks::sort_VecBlocks_all | ( | std::vector< TensorBlock< rank > > && | blocks | ) |
Sorts the blocks of the input tensor into buckets according their full transformation specification.
Blocks in one bucket transform identically on every leg.
blocks | vector of the blocks to sort |
References std::vector< T >::back(), std::copy(), std::vector< T >::emplace_back(), std::iota(), std::min_element(), std::move(), std::partition_point(), std::vector< T >::reserve(), std::vector< T >::size(), and std::sort().
Referenced by syten::tensorSortBuckets().