Element - Þ⊍
- Multiset Symmetric Difference
Description
Similar to set symmetric difference, but with duplicates allowed.
Overloads
lst-lst
-multiset symmetric difference of a and b
Examples
⟨1|2|3|4|5|6|7|8|9|10⟩ ⟨1|2|3|4|5|6|7|8|9|10⟩ Þ⊍
=⟨⟩
⟨1|2|3|4|5|6|7|8|9|10⟩ ⟨1|2|3|4|5|6|7|8|9|10|11⟩ Þ⊍
=⟨11⟩
⟨1|1|2|2|2|3|3|3⟩ ⟨1|2|2|3⟩ Þ⊍
=⟨1|2|3|3⟩
⟨1|1|2|2|2|3|3|3⟩ ⟨1|2|2|3|4⟩ Þ⊍
=⟨1|2|3|3|4⟩
⟨⟩ ⟨⟩ Þ⊍
=⟨⟩
⟨1|2|3⟩ ⟨⟩ Þ⊍
=⟨1|2|3⟩
12 234 Þ⊍
=⟨1|3|4⟩
12 `12` Þ⊍
=⟨1|2|`1`|`2`⟩
`12` 12 Þ⊍
=⟨`1`|`2`|1|2⟩