std::vector< std::vector< std::tuple< Index, Index > > > syten::TensorProd::sort_proto_prod_all | ( | std::vector< std::tuple< Index, Index, std::array< RDef, rrank *SYTEN_MAX_SYM *SYTEN_MAX_DEG > > > const & | protolist | ) |
Sorts worklist pair items according to the quantum number sectors of the result.
References std::vector< T >::back(), std::copy(), std::vector< T >::emplace_back(), std::iota(), std::make_tuple(), std::min_element(), std::partition_point(), std::vector< T >::push_back(), std::vector< T >::reserve(), std::vector< T >::size(), and std::sort().