I have a vector of numbers, and I wanted to do compression using Huffman coding. I saw a lot of code on the internet but any input that I can not be combined. I also have to decompress the output vector of numbers.
1 - void code(vector input , vector output);
2 - void decode(vector input , vector output);
//................................................. input = > vector in ;
output= > vector out1 , out2;
code(in,out1);
decode(out1,out2);
//.........................................
MY PROBLEM IS , How do I put in the input vector of numbers(float) ?