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