On Fri, Jul 31, 2009 at 9:04 PM, Kip Murray<[email protected]> wrote: > The power set of a set is the new set comprising all subsets of the original > set.
powerSet=: <@#~ 2#:@i...@^# powerSet 'abc' ++-+-+--+-+--+--+---+ ||c|b|bc|a|ac|ab|abc| ++-+-+--+-+--+--+---+ -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
