Skip to content

PowerSet ​

Generated from the engine's own definition: compute-engine's symbol, which we neither extend nor document by hand.

Return the power set of a set (set of all subsets). Catalogued as an alias of Subsets.

WikipediaPower setMathWorldPowerSetWikidataQ205170Encyclopedia of MathematicsPower_setnLabpower setBritannicatopic/power-setFungrimPowerSetRosetta CodePower set
PowerSet(set<any>) -> setas compute-engine declares it
Typed signatures
TypePackageApplies
(set<any>) -> setcompute-enginealways

Domain: Compute engine

Examples

Basic #

A 3-element set has 232^3 subsets

live ↗
In∣PowerSet({1,2,3})∣\vert\mathrm{PowerSet}(\lbrace1, 2, 3\rbrace)\vertOut88
About
Examples1
CrosswalkWikipediaMathWorldWikidataEncyclopedia of MathematicsnLabBritannicaFungrimRosetta Code