Given a list of Macaulay2 objects for which areIsomorphic makes sense for any pair, this method determines the distinct isomorphism classes appearing in the list, by performing "upper-triangular" comparisons of pairs.
In particular, the output list (of representatives of each isomorphism class) is always ordered consistently with the order of the original list.
If the list has size $n$, and all objects are pairwise non-isomorphic, then ($n$ choose $2$) comparisons are made, while if all objects are isomorphic, then only $n-1$ comparisons are made.
|
|
|
The object isoTypes is a method function.