1 | initial version |
So, I found the problem.
In fact,
N.parent() == Full MatrixSpace of 30 by 30 dense matrices over Algebraic Real Field
since this has infinite precision, the computation takes forever.
This is solved, and the computation is almost instant (as expected), by using finite precision, i.e.
Ni = N.n().inverse()
Maybe this'll help someone.
Cheers! : )