Home | Trees | Indices | Help |
---|
|
|
|||
Codec | |||
EliasGammaCodec Encode/Decode integer according to: http://www.inference.phy.cam.ac.uk/mackay/itprnn/code/c/compress/ Integer must be >=1, unless codec is initialized with the "signed=True" FORMAT: -run of zeros of length = 1 - bits needed to encode data -data, first bit MUST be 1 -(optional) 1 bit for the sign notice, that zero cannot be encoded by this scheme. |
|||
IntegerCodec OPTIONS:... |
|||
QRCodec | |||
GolombCodec FORMAT:... |
|||
ReorderBits | |||
RandomReorderBits | |||
MEGICodec FORMAT:... |
|||
PowerLawCodec FORMAT:... |
|||
MEGRCodec MEG vector encoding zero runs. |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
Use the Gosper approximation of a factorial (much better than Stirling) to caculate the log_{base} N! $log N! \approx 0.5 \log [\pi (2*N + 1/3)]+N \log N - N$ |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0beta1 on Thu Nov 8 17:49:24 2007 | http://epydoc.sourceforge.net |