0
$\begingroup$

How can I tell Mathematica that it should delete equal elements from a list, which aren't in the same order. For example

list={x == y, y == x} ;

should become {x == y.

$\endgroup$
4
  • $\begingroup$ This answer is the answer: How to remove repeated permutations? $\endgroup$
    – Kuba
    Commented Jan 29, 2016 at 15:55
  • $\begingroup$ You can also use Reduce[list] but for more complex cases you can get reductions which are not expected. $\endgroup$
    – Kuba
    Commented Jan 29, 2016 at 15:57
  • $\begingroup$ Union[Simplify[list]] seems to work for lists of equalities $\endgroup$
    – Bill
    Commented Jan 29, 2016 at 17:03
  • $\begingroup$ Also duplicates: (44), (1302) $\endgroup$
    – Mr.Wizard
    Commented Jan 29, 2016 at 23:17

0

Browse other questions tagged or ask your own question.