std::vector< Tensor< rank > > syten::TensorBlocks::sort_Tensor_some | ( | Tensor< rank > && | input, |
std::array< Rank, numMatches > const & | matches | ||
) |
Sorts the blocks of input
into Tensors, where each tensor transforms uniquely on the legs specified in matches
.
References std::copy(), std::iota(), std::move(), std::partition_point(), std::vector< T >::reserve(), std::array< T >::size(), and std::sort().