checkNorm method

bool checkNorm(
  1. int bound
)

Check infinity norm bound (centered).

Implementation

bool checkNorm(int bound) {
  for (final c in coeffs) {
    final t = MLDSAOperator.fieldCenter(c).abs();
    if (t >= bound) return false;
  }
  return true;
}