AutomorphismPermutation -> AutoPerm

This commit is contained in:
Jean-Philippe Bossuat
2025-01-16 11:10:58 +01:00
parent 8de8af8fa9
commit 7c8f2f3a63
3 changed files with 9 additions and 9 deletions

View File

@@ -1,11 +1,11 @@
use crate::modulus::WordOps;
pub struct AutomorphismPermutation {
pub struct AutoPerm {
pub gal_el: usize,
pub permutation: Vec<usize>,
}
impl AutomorphismPermutation {
impl AutoPerm {
/// Returns a lookup table for the automorphism X^{i} -> X^{i * k mod nth_root}.
/// Method will panic if n or nth_root are not power-of-two.
/// Method will panic if gal_el is not coprime with nth_root.