546 reputation
413
bio website
location Boulder, CO
age
visits member for 2 years, 3 months
seen Feb 28 at 1:20

I'm a physics graduate student at UC Boulder


Jan
17
awarded  Yearling
Jan
15
awarded  Popular Question
Dec
26
awarded  Good Question
Aug
13
awarded  Nice Question
May
24
awarded  Notable Question
Apr
2
comment removing elements that are contained in other elements
Thank you very much! I'm always impressed by your answers.
Apr
2
accepted removing elements that are contained in other elements
Jan
17
awarded  Yearling
Jan
7
comment Elementwise join
Why does that work? It is very interesting, but what if I want to make a[0,0] a list as well?
Jan
7
comment Elementwise join
Sorry, I was using A, B and C as example variables.
Jan
7
revised Elementwise join
change language
Jan
7
asked Elementwise join
Nov
23
awarded  Popular Question
Oct
22
awarded  Nice Question
Oct
1
comment removing elements that are contained in other elements
That works for me, thank you very much. The Select line is particularly helpful.
Oct
1
comment removing elements that are contained in other elements
let us continue this discussion in chat
Oct
1
accepted Manipulating OptionsPatterns[]
Oct
1
accepted Mathematica “prelude”
Oct
1
comment removing elements that are contained in other elements
Thanks for the explanation. I'm trying to figure out why it isn't working for me. My "test list" is: {{"test", "1"}, {"test", "1", "1"}, {"test", "1", "2"}, {"test", "1", "3"}, {"test", "1", "4"}, {"test", "1", "5"}, {"test", "2"}, {"test", "2", "1"}, {"test", "2", "2"}, {"test", "2", "3"}}; And the select line returns the entire list unmodified. The first element is a subset of the next few elements, so it should be removed, along with the {"test","2"} element.
Oct
1
comment removing elements that are contained in other elements
I have tried it, and it works on symbols, but not on strings, which I don't really understand (I assume that the comparator for strings is different than for symbols, but I don't know how to fix it).