M2 icon indicating copy to clipboard operation
M2 copied to clipboard

More linear algebra speed issues

Open pzinn opened this issue 1 year ago • 5 comments

I keep finding new issues with doing linear algebra in M2 (I know this isn't M2's specialty but still...), see e.g. #2718.

I have this sample 461x149 QQ-valued matrix m which I'm not going to reproduce here.

(1) Asking for kernel m takes 16.7s on my desktop.

(2) Asking for kernel promote(m,QQ[]) takes 2.2s. (?!?)

(3) Asking for reducedRowEchelonForm m takes 0.04s (as should be).

Clearly (1) shouldn't take more time than (3).

pzinn avatar Oct 11 '24 01:10 pzinn