Function
| Static Public Summary | ||
| public |
enumerate(elements: *) |
|
| public |
isPartition(elements: *, partition: *): * |
|
| Static Private Summary | ||
| private |
_count(init: *, k: *) |
|
| private |
* _enumerate(elements: *, n: *) |
|
| private |
* _sequence(init: *) |
|
Static Public
public enumerate(elements: *) source
import enumerate from '@combinatorics/set-partition/src/enumerate.js'Params:
| Name | Type | Attribute | Description |
| elements | * |
public isPartition(elements: *, partition: *): * source
import isPartition from '@combinatorics/set-partition/src/isPartition.js'Params:
| Name | Type | Attribute | Description |
| elements | * | ||
| partition | * |
Return:
| * |
Static Private
private _count(init: *, k: *) source
import _count from '@combinatorics/set-partition/src/_count.js'Params:
| Name | Type | Attribute | Description |
| init | * | ||
| k | * |
private * _enumerate(elements: *, n: *) source
import _enumerate from '@combinatorics/set-partition/src/_enumerate.js'Params:
| Name | Type | Attribute | Description |
| elements | * | ||
| n | * |
|
private * _sequence(init: *) source
import _sequence from '@combinatorics/set-partition/src/_sequence.js'Params:
| Name | Type | Attribute | Description |
| init | * |
