| bio | website | |
|---|---|---|
| location | Boulder, CO | |
| age | ||
| visits | member for | 1 year, 4 months |
| seen | Apr 4 at 20:06 | |
| stats | profile views | 30 |
I'm a physics graduate student at UC Boulder
|
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). |
|
Oct 1 |
comment |
removing elements that are contained in other elements Probably not very high. The ! Or @@ Table[subsetQ[#, set], {set, Complement[lists, {#}]}] section isn't clear to me, care you expand on what that means? Also, any idea why this doesn't work with strings? |
|
Oct 1 |
asked | removing elements that are contained in other elements |
|
Sep 11 |
awarded | Caucus |
|
Sep 1 |
comment |
Manipulating OptionsPatterns[] @Ryogi: Thanks! That has a great answer for me. |
|
Aug 31 |
asked | Manipulating OptionsPatterns[] |