Skip to main content

mag_scale

Function mag_scale 

Source
pub fn mag_scale(f: &Feat) -> usize
Expand description

Expected-magnitude class ⌊log₂(1 + 2μ)⌋ from the weighted mean μ of the causal neighbours’ and parent’s magnitudes (an adaptive-Golomb parameter: the low e − 2 bits of |q| − 1 are coded near-raw).