Vyxapedia

Element - Þ∪ - Multiset Union

Characters: Þ,


Description

Similar to set union, but with duplicates allowed.


Overloads

  • lst-lst - multiset union 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⟩ ⟨1|2|3|4|5|6|7|8|9|10|11⟩ Þ∪ = ⟨1|2|3|4|5|6|7|8|9|10|11⟩
  • ⟨1|1|2|2|2|3|3|3⟩ ⟨1|2|2|3⟩ Þ∪ = ⟨1|1|2|2|2|3|3|3⟩
  • ⟨1|1|2|2|2|3|3|3⟩ ⟨1|2|2|3|4⟩ Þ∪ = ⟨1|1|2|2|2|3|3|3|4⟩
  • ⟨⟩ ⟨⟩ Þ∪ = ⟨⟩
  • ⟨1|2|3⟩ ⟨⟩ Þ∪ = ⟨1|2|3⟩
  • 12 234 Þ∪ = ⟨1|2|3|4⟩
  • 12 `12` Þ∪ = ⟨1|2|`1`|`2`⟩
  • `12` 12 Þ∪ = ⟨`1`|`2`|1|2⟩