Skip to main content

domain_point_steps

Function domain_point_steps 

Source
pub fn domain_point_steps<F: TowerLevel>(count: usize) -> Vec<F>
Expand description

The increments of domain_point(index << 1) as index runs upwards from zero.

domain_point is F_2-linear in its index and (index − 1) ^ index is the mask of bits 0..=k for k = index.trailing_zeros(), so consecutive points differ by steps[k] = Σ_{r ≤ k} v_{r+1}. The count entries returned cover every index below 2^count.

§Panics

Panics if count is at least the bit width of F.