Function intt
Source fn intt<M>(a: &mut [MInt<M>])
crates/competitive/src/math/number_theoretic_transform.rs (
line 339)
338 fn inverse_transform(mut f: Self::F, len: usize) -> Self::T {
339 intt(&mut f);
340 f.truncate(len);
341 let inv = MInt::from(len.max(1).next_power_of_two() as u32).inv();
342 for f in f.iter_mut() {
343 *f *= inv;
344 }
345 f
346 }