multiScalarQuantize
fun multiScalarQuantize(vector: FloatArray, destinations: Array<ByteArray>, bits: ByteArray, centroid: FloatArray): Array<OptimizedScalarQuantizer.QuantizationResult>
Quantize the vector to the multiple bit levels.
Return
array of quantization results
Parameters
vector
raw vector
destinations
array of destinations to store the quantized vector
bits
array of bits to quantize the vector
centroid
centroid to center the vector