more additions to automorphisms

This commit is contained in:
Jean-Philippe Bossuat
2025-01-10 21:52:40 +01:00
parent a6c1aa1c09
commit 74bfb52ada
8 changed files with 177 additions and 114 deletions

View File

@@ -39,7 +39,7 @@ fn test_automorphism_u64<const NTT: bool>(ring: &Ring<u64>, nth_root: usize) {
ring.ntt_inplace::<false>(&mut p0);
}
ring.automorphism::<NTT>(&p0, 2 * n - 1, nth_root, &mut p1);
ring.a_apply_automorphism_into_b::<NTT>(&p0, 2 * n - 1, nth_root, &mut p1);
if NTT {
ring.intt_inplace::<false>(&mut p1);