Maple für Professional
Maple für Akademiker
Maple für Studenten
Maple Personal Edition
Maple Player
Maple Player für iPad
MapleSim für Professional
MapleSim für Akademiker
Maple T.A. - Testen & beurteilen
Maple T.A. MAA Placement Test Suite
Möbius - Online-Courseware
Machine Design / Industrial Automation
Luft- und Raumfahrt
Fahrzeugtechnik
Robotics
Energiebranche
System Simulation and Analysis
Model development for HIL
Anlagenmodelle für den Regelungsentwurf
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematikausbildung
Technik
Allgemein- und berufsbildende Schulen
Testen und beurteilen
Studierende
Finanzmodelle
Betriebsforschung
Hochleistungsrechnen
Physik
Live-Webinare
Aufgezeichnete Webinare
Geplante Veranstaltungen
MaplePrimes
Maplesoft-Blog
Maplesoft-Mitgliedschaft
Maple Ambassador Program
MapleCloud
Technische Whitepapers
E-Mail Newsletters
Maple-Bücher
Math Matters
Anwendungs-Center
MapleSim Modell-Galerie
Anwenderberichte
Exploring Engineering Fundamentals
Lehrkonzepte mit Maple
Maplesoft Welcome-Center
Resource-Center für Lehrer
Help-Center für Studierende
combinat[powerset] - construct the power set of a set
Calling Sequence
powerset(s)
Parameters
s
-
set or list, or non-negative integer
Description
The powerset(s) calling sequence constructs the power set of a set, list, or non-negative integer.
If s is a set, then powerset command returns the power set of s, that is, a set consisting of all the subsets of s. The power set has entries, where is the number of elements in s.
If s is a non-negative integer, powerset interprets it as a set of the first s integers.
If s is a list, powerset returns a list of all the sublists of s. The number of sublists depends on the multiplicities of s.
To iterate through the subsets of a given set without generating all subsets beforehand, use combinat[subsets].
Examples
See Also
combinat[choose], combinat[subsets]
Download Help Document