| Author |
Comment/Response |
Sinval Santos
|
01/16/12 6:54pm
First question:
{{a,c,b,d,e},{d,a,b,c,e},{e,b,d,c,a},{c,a,e,d,b}}. The four subsets have the same elements. How to leave only one of them? When the subset has only two elements we can use
Union[set,SameTest->(First[#]==Last[#]&)].But with more than two can not.
Second question:
{{a,a,a,a,a},{a,c,b,e,d}.How do I delete subsets, where all elements are equal?
URL: , |
|