Module vec

Source
Expand description

Array Tool provides many useful methods for vectors

Traits§

Intersect
Set Intersection — Returns a new array containing elements common to the two arrays, excluding any duplicates. The order is preserved from the original array.
Join
Join vector of ToString capable things to a String with given delimiter.
Shift
Removes, or Adds, the first element of self.
Times
Expand and duplicate the vectors content times the integer given
Union
Create a union between two vectors. Returns a new vector by joining with other, excluding any duplicates and preserving the order from the original vector.
Uniq
Several different methods for getting, or evaluating, uniqueness.