Trait cp_library_rs::convolution::ntt::NTTFriendly
source · pub trait NTTFriendly<Rhs = Self, Output = Self>: Clone + Copy + Add<Rhs, Output = Output> + Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + MulAssign<Rhs> + Zero + From<u32> + Fp {
// Required methods
fn order() -> u32;
fn rem() -> u32;
fn root() -> Self;
// Provided method
fn root_pow2m(a: u32) -> Self { ... }
}
Expand description
FFTに必要な関数
Required Methods§
Provided Methods§
sourcefn root_pow2m(a: u32) -> Self
fn root_pow2m(a: u32) -> Self
2^m 乗根