On Tue, Feb 20, 2024 at 06:19:00AM +0100, Claus Fieker wrote:
> If one wants the and with Trafo, one asks for the hnf with Trafo....
> Needs some transpose and inverse and the final sorting of the diagonal
PS.: in Hecke/Oscar in julia, I cannot quite reproduce Magma's times,
but I can get the HNF in <0.2 sec, using the "same" idea that, as far as
I recall, is used in Magma: if the matrix is sparse, use a sparse HNF.
In Magma, the sparse HNF is used until the remaining part is dense, then
the dense code is called. In Hecke we do a pure, vanilla, Kannan-Bachem,
but sparse.
The Pernet-Stein algo, that is used for the HNF in Nemo (for this kind
of matrix) is supposed to be "optimal" for random input. But as
observed, John's matrix is far from random, so it might also just be the
worst input possible...
The flint Kannan-Bachem runs in 2sec. this might also be a good start
for the snf.
> >>
https://groups.google.com/d/msgid/flint-devel/CAHVvXxSX3A0o%2BngYA-7uH5gf0v3s5tnBqNKi10zkdQoMOB-EEA%40mail.gmail.com
> >> .
> >>
> > --
> >
> > ---
> > You received this message because you are subscribed to the Google Groups
> > "flint-devel" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to
flint-devel...@googlegroups.com.
> > To view this discussion on the web, visit
> >
https://groups.google.com/d/msgid/flint-devel/CA%2BiQ7x425PF0kzMS0XtUGMtNaniS%3DabK6m63-8nwOcgD5EzwJg%40mail.gmail.com
> > <
https://groups.google.com/d/msgid/flint-devel/CA%2BiQ7x425PF0kzMS0XtUGMtNaniS%3DabK6m63-8nwOcgD5EzwJg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> > .
> >
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups "flint-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
flint-devel...@googlegroups.com.
> To view this discussion on the web, visit
https://groups.google.com/d/msgid/flint-devel/CAA9NTHK4yapu8YnSVBg_XtsxAa9KFujs%3DAnRbHh_dskk6V4DAA%40mail.gmail.com.