1 | initial version |
@kcrisman: Thanks a lot for your result!
I am a new sage user thus I still have no idea how A2._echelon_in_place_classical() slows down cython and how to get it improved.
Just to mention, as a work around, now I use a 2d list instead of a matrix object, and hard-cored a formula for inverse matrix to avoid the problem (because I only use 4*4 symmetric matrix now).
On the other hand, it is still extremely interesting to find a solution to this problem :)