Bill Allombert on Thu, 16 Nov 2023 07:54:30 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Question on ternary quadratic form


On Wed, Nov 15, 2023 at 11:09:07PM +0100, Markus Grassl wrote:
> It took me a bit longer to find the corresponding functions in Pari -
> slightly different from Bill's solution:
> 
> ? G=[1, 0,  0; 0,  5,  28; 0, 28, 157]
> %1 =
> [1  0   0]
> 
> [0  5  28]
> 
> [0 28 157]
> 
> ? qflllgram(G)
> %2 =
> [1  0   0]
> 
> [0 -6 -11]
> 
> [0  1   2]
> 
> 
> I'm not sure whether this works for all cases.

Well, it is still assuming that G is positive definite,
and qflllgram might return a different LLL-reduced form.

qfisom use minimal vectors as you suggest.

Cheers,
Bill