Complexity of qfisom()

Georgi Guninski <[email protected]>
Newsgroups gmane.comp.mathematics.pari.devel
Message-ID <CAGUWgD8qH5kTB-oRgu_1=Qm0aegBLEFf9haprgT_dzevFaJB_Q@mail.gmail.com>
I read the Fine Manual, but didn't find the answer.
qfisom(G,H) returns matrix S such that G=S^T H S.

1. Must S be permutation matrix up to sign (-1 entry is possible)?
2. What is the complexity of qfisom(), under what hypothesis
the complexity is exp(o(n)) (small Oh)?

According to my tests, qfisom() is very efficient both on random
and structured instances, when I first do qi=qfisominit(G,[2,3]).

3. Is it correct to use qi=qfisominit(G,[2,3])?

Attached is example, which takes only 0.3 seconds for 100 x 100 matrices
with the [2,3] trick.
a.gp.gz (application/gzip, 3.5 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.