Finset
The singular-inhabitant constructor for a subset of , as and its members.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wikipedia
Combinationvia KSubsetsPower setvia SubsetsOEISA000079via BooleanAlgebraA007318via KSubsetsWolfram LanguageBinomialvia KSubsets!SageMathSubsets(n, k)via KSubsetsSubsets(n)via SubsetsSymPysubsetsvia KSubsetsmathlib4FinsetFinset ℕvia FinsetsBooleanAlgebravia BooleanAlgebraFinset.powersetCard kvia KSubsetsFinset (Fin n)via SubsetsMATLABnchoosekvia KSubsetsFinset(tuple)The singular-inhabitant constructor for a subset of , as and its members.Typed signatures
| Type | Package | Applies |
|---|---|---|
((tuple<integer, list<integer>>) -> finset) & ((binary_word) -> finset) | combinatorics | always |
Details
- A Subsets element:
Finset(Tuple(n, members)), the members ascending. Finset(word)reads a characteristic word: the positions holding 1. Over BinaryWords, that lists the subsets of in their words' order, where Subsets lists them by size, then lex.
Maps
Into and out of Finset, called as CombinatorialMap(x, "Name"). Properties are the laws we state and what FindStat records.
From Finset
- BinaryWordFinset → BinaryWordinverseA subset of 1..n as its characteristic word: letter i is 1 when i is a member.
To Finset
- DescentSetPermutation → FinsetThe positions where the word falls.
- FinsetBinaryWord → FinsetinverseThe subset of 1..m a binary word of length m marks: the positions holding 1.
- PeakSetPermutation → FinsetThe interior positions that rise then fall.
- PermutahedronVertexPermutation → FinsetThe vertex (σ(1), …, σ(n)), or its Loday point, is an ordered tuple of coordinates, while
finsetis an unordered set of positions (the carrier DescentSet and PeakSet use). Reordering the coordinates gives a different vertex but the same finset, so the map would not be injective. Afinset-valued PermutahedronVertex is a type mismatch, not a gap to close.
Examples
About
| Examples | 1 |
|---|---|
| Checked against | Wolfram Language 1 differJulia 1 differRust 1 differ |
| Crosswalk | Wikipedia ×2OEIS ×2Wolfram LanguageSageMath ×2SymPymathlib4 ×5MATLAB |