Function sequant::ordinal_compare¶
Defined in File indices.hpp
Function Documentation¶
-
inline bool sequant::ordinal_compare(Index const &idx1, Index const &idx2)¶
Does the numeric comparison of the index ordinals using less-than operator.
- Parameters:
idx1 –
idx2 –
- Returns:
True if the ordinal of
idx1is less than that ofidx2. Since ordinals are optional, the semantics is that of std::optional