Function
Static Public Summary | ||
public |
Powerset operator. |
Static Private Summary | ||
private |
_increment(bitset: Array): number _increment. |
|
private |
_powerset. |
Static Public
public powerset(set: Iterable): IterableIterator<Array> source
import powerset from '@set-theory/powerset/src/powerset.js'
Powerset operator.
Params:
Name | Type | Attribute | Description |
set | Iterable |
Static Private
private _increment(bitset: Array): number source
import _increment from '@set-theory/powerset/src/_increment.js'
_increment.
Params:
Name | Type | Attribute | Description |
bitset | Array |
private * _powerset(source: Iterator): IterableIterator<Array> source
import _powerset from '@set-theory/powerset/src/_powerset.js'
_powerset.
Params:
Name | Type | Attribute | Description |
source | Iterator |