"Source: Text/System/Par.text";
"Line: 1642";
"Date: Thu Jul 13 10:19:10 2023";
"Main: Fri Sep 26 14:29:19 2025";
// original file: Text/System/Par.text, line: 1642
// Example: H5E16 ()
print "Example: H5E16";
ei := GetEchoInput();
SetEchoInput(true);
//no-test
SetNthreads(32);
d := 60; 
B:= Matrix(d, d, [Random([-99..99]) : i in [1..d^2]]);
L := LatticeWithBasis(B);
L:Minimal;
w := Vector([Random([-99..99]) : i in [1..d]]);
w;
Norm(w);
time sv := ClosestVector(L, w);
 sv;
Norm(sv);
Norm(sv - w);
SetEchoInput(ei);
