Sdr.overlap
You're seeing just the function
overlap
, go back to Sdr module for more information.
Overlap of two SDRs.
Examples
iex(1)> Sdr.overlap(MapSet.new([1, 2]), MapSet.new([2, 3]))
#MapSet<[2]>
Use MapSet.size/1 to get the length of the MapSet. Use MapSet.to_list/1 to convert it to a list.