scale_rows

Function scale_rows 

Source
fn scale_rows(matrix: MatMut<'_, Complex>, scales: &[f64], shifts: &[i32])
Expand description

matrix[(i, j)] scales[i] 2^shifts[j], rounded once unless subnormal. A shifted column splits each scale into a mantissa and a power of two, and applies the power first when it scales up, so no intermediate product overflows or flushes a subnormal entry.