Œc - Unordered Pairs
Tags: miscellaneous , math , array , combinatorics
This atom is monadic, which means it takes one argument.
All unordered pairs without replacement (i.e. without pairing an element to itself).
4R Œc/code> returns
[[1, 2], [1, 3], [1, 4], [2, 3], [2, 4], [3, 4]] -
[2, 2], etc. are not included.
This atom should work roughly the same way as or very similarly in concept to the following code snippets (some edge case exceptions may exist):