Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Complement[] of nested lists.' topicStudent Support Forum > General > "Complement[] of nested lists."

Next Comment >Help
Author Comment/Response
Dylan Powell
08/06/04 00:39am

I'm using Reap[] and Sow[] to generate a set of nested lists of variable length. After running, I get output similar to the following:

{Null,{{{list1},{list2},...,{ListN}}}}

After some Delete[]ing and Flatten[]ing, I've reduced the list to a simpler nested list in the form:

{{list1},{list2},...,{listN}}


What I'd like to do is take the Complement[] of these lists. Mathematica will not accept the nested lists as an arguement to Complement[], or at least I cannot figure it how to make it. Any suggestions?

URL: www.dylanpowell.net,

Thread 'Complement[] of nested lists.' is now CLOSED
Author Date Posted
Complement[] of nested lists. Dylan Powell 08/06/04 00:39am
Re: Complement[] of nested lists. Forum Modera... 08/08/04 09:43am
Re: Complement[] of nested lists. Henry Lamb 08/09/04 04:25am
Next Comment >Help