Function sequant::cross_type_less¶
Defined in File abstract_tensor.cpp
Function Documentation¶
-
bool sequant::cross_type_less(const AbstractTensor &a, const AbstractTensor &b)¶
orders AbstractTensor objects of unlike concrete types
Compares label, then bra, ket and aux ranks, then the Expr type id of the two objects.
- Returns:
true if
aprecedesb; false if they compare equal in all of these