Add cross-basek normalization (#90)

* added cross_basek_normalization

* updated method signatures to take layouts

* fixed cross-base normalization

fix #91
fix #93
This commit is contained in:
Jean-Philippe Bossuat
2025-09-30 14:40:10 +02:00
committed by GitHub
parent 4da790ea6a
commit 37e13b965c
216 changed files with 12481 additions and 7745 deletions

View File

@@ -176,7 +176,7 @@ impl<D: DataRef, B: Backend> fmt::Display for SvpPPol<D, B> {
writeln!(f, "SvpPPol(n={}, cols={})", self.n, self.cols)?;
for col in 0..self.cols {
writeln!(f, "Column {}:", col)?;
writeln!(f, "Column {col}:")?;
let coeffs = self.at(col, 0);
write!(f, "[")?;
@@ -187,7 +187,7 @@ impl<D: DataRef, B: Backend> fmt::Display for SvpPPol<D, B> {
if i > 0 {
write!(f, ", ")?;
}
write!(f, "{}", coeff)?;
write!(f, "{coeff}")?;
}
if coeffs.len() > max_show {