Functions to sort the blocks of a tensor according to various criteria. More...
Functions | |
| template<Rank rank, Rank numMatches> | |
| std::vector< Tensor< rank > > | 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. More... | |
| template<Rank rank> | |
| std::vector< std::vector< TensorBlock< rank > > > | sort_VecBlocks_all (std::vector< TensorBlock< rank > > &&blocks) |
| Sorts the blocks of the input tensor into buckets according their full transformation specification. More... | |
| template<Rank rank> | |
| std::vector< std::vector< Index > > | sort_VecIdx_single (Tensor< rank > const &input, Index const leg) |
| Sort the blocks of the supplied tensor into buckets corresponding to the specified leg. More... | |
| template<Rank rank, Rank numMatches> | |
| std::vector< std::pair< std::vector< RDef >, std::vector< Index > > > | sort_VecRepIdx_some (Tensor< rank > const &input, std::array< Rank, numMatches > const &matches) |
Sorts the blocks in input into buckets. More... | |
Functions to sort the blocks of a tensor according to various criteria.
Return types are always some vectors of T. Naming schema for functions if <inner_type>_<criterion>, where <inner_type> is a verbal description of T and <criterion> is a verbal description of the criterion.