How to find the set of a vector, i.e, given a vector, how to retrive the unique elements of the vector with its elements as f64 as their datatype ?
for example, let my vector be :
let numbers = vec![1.1, 1.1, 1.1, 2.2, 2.2, 2.2, 2.2, 3.3];
I want only the values [1.1, 2.2, 3.3].
Can someone suggest me a way to make it up !