reduceVector: Remove zeros and repeated values
Description
This is a helper function to remove all zeros and repeated values from a vector.Value
- The function returns vector
Details
This is a helper function to strip all zeros and repeated values from a vector.