According to the invention, quantization encoding is conducted using the
probability density function of the source, enabling fixed, variable and
adaptive rate encoding. To achieve adaptive encoding, an update is
conducted with a new observation of the data source, preferably with each
new observation of the data source. The current probability density
function of the source is then estimated to produce codepoints to vector
quantize the observation of the data source.