NumEx v0.1.0 SetRoutines View Source

A module to perform some missing set operations

Link to this section Summary

Functions

Takes two enumerables, returns a MapSet by performing set exclusive-or on them, element-wise

Link to this section Functions

Link to this function setxor1d(arr1, arr2) View Source
setxor1d([integer()], [integer()]) :: [integer()]

Takes two enumerables, returns a MapSet by performing set exclusive-or on them, element-wise.

Examples

iex> SetRoutines.setxor1d([1,2,3,2,4],[2,3,5,7,5])
#MapSet<[1, 4, 5, 7]>