Project

General

Profile

Slug #1110

Updated by John Abbott almost 6 years ago

CoCoA-5 can be much faster as computing @det(M)@ if @RingOf(M)@ is @ZZ@ than the same matrix but over the ring @QQ@.

In one test (using @RandomUnimodularMatrix(ZZ, 100, 100000)@) the times were: 10s over @ZZ@, and 125s over @QQ@ even though the matrices had the same entries!

*[REJECTED]* Perhaps add a special case where all al entries are over @ZZ@?
*[IMPLEMENTED]* Perhaps even do something clever to clear denoms, then compute over @ZZ@?

Back