Atom - Œċ
- Unordered Pairs (With Replacement)
Tags: miscellaneous , math , array , combinatorics
Arity: monadic
This atom is monadic, which means it takes one argument.
Functionality
All unordered pairs with replacement (i.e. including pairing an element to itself).
Details
For example, 3R Œċ/code> returns
[[1, 1], [1, 2], [1, 3], [2, 2], [2, 3], [3, 3]]
- [1, 1]
, [2, 2]
, etc. are included.
Synonyms
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):
œċ2