SyTen

◆ sort()

template<Rank rank>
void syten::sort ( Tensor< rank > &  t)

Sorts Tensor (hopefully) uniquely.

References std::sort(), SYTEN_ASSERT_MSG, and SYTEN_TENSOR_RANK.

Referenced by dense(), syten::mutualInfo::optimal_order(), and syten::MPS::schmidt_decompositions().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: