Function sequant::detail::lexicographic_compare_tensor_labels¶
Defined in File abstract_tensor.hpp
Function Documentation¶
-
inline std::weak_ordering sequant::detail::lexicographic_compare_tensor_labels(std::wstring_view a, std::wstring_view b, const LexicographicCompareOptions &opts)¶
- Returns:
the order of tensor labels
aandb: cardinal labels (see LexicographicCompareOptions::cardinal_tensor_labels) precede all others, in the order given there; all others are ordered lexicographically