Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
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