A library to pack non-standard size numbers into a vector of normal numbers.
Eg. Store an array of 5-bit integers into a vector of 64-bit integers. The idea is to compactly represent 20 different types of AminoAcids as 5-bit integers for sending to GPU clusters (memory limited) to process
main.cc is for unit test using
GoogleTest. Must configure
make to compile and run the test.
Protein p; p.push(1); p.push(2); p.set(0, 10); cout << p.get(0); // 10