refactoring

This commit is contained in:
Jean-Philippe Bossuat
2025-01-27 16:23:23 +01:00
parent c30f598776
commit 1ac719ce7e
21 changed files with 113 additions and 88 deletions

View File

@@ -1,7 +1,7 @@
use itertools::izip;
use math::automorphism::AutoPerm;
use math::poly::Poly;
use math::ring::Ring;
use rns::automorphism::AutoPerm;
use rns::poly::Poly;
use rns::ring::Ring;
#[test]
fn automorphism_u64() {

View File

@@ -1,7 +1,7 @@
use itertools::izip;
use math::modulus::{WordOps, ONCE};
use math::poly::Poly;
use math::ring::Ring;
use rns::modulus::{WordOps, ONCE};
use rns::poly::Poly;
use rns::ring::Ring;
use sampling::source::Source;
#[test]

View File

@@ -1,8 +1,8 @@
use itertools::izip;
use math::num_bigint::Div;
use math::poly::{Poly, PolyRNS};
use math::ring::RingRNS;
use num_bigint::BigInt;
use rns::num_bigint::Div;
use rns::poly::{Poly, PolyRNS};
use rns::ring::RingRNS;
use sampling::source::Source;
#[test]

View File

@@ -1,5 +1,5 @@
use math::poly::Poly;
use math::ring::Ring;
use rns::poly::Poly;
use rns::ring::Ring;
#[test]
fn ring_switch_u64() {