MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Powerset operation: how?


How should I code efficiently the powerset of a (small) set represented by a
list?

A search on Wolfram site turned out nothing useful, but I'm quite sure
somebody has done it already.
-- 
Here's where you can reach me (fixed-width font required).
                    .   ,-.                  .
. . ,-. ,-. ,-. ,-. |- /,-.\ ,-.    ,-.    ,-|    ,-. ,-. ,-.
| | `-. |-' | | |-' |  |,-|| | | -- |-' -- | |    | | |   | |
`-^ `-' `-' ' ' `-' `' \`-^' `-|    `-'    `-^ :; `-' '   `-|
                        `--    |                           ,|
                               `                           `'


  • Prev by Date: Re: how to delete duplicate items in the same list
  • Next by Date: Wolfram Functions Site
  • Previous by thread: Re: modifying style of notebook
  • Next by thread: Re: Powerset operation: how?